Skip to content
Commit db9038c8 authored by Frans Pop's avatar Frans Pop Committed by Sam Ravnborg
Browse files

kbuild: fix the binrpm-pkg target to work with KBUILD_OUTPUT set



The binrpm-pkg target (binary RPM only) fails when called with
KBUILD_OUTPUT set. This patch makes it work.

For the rpm-pkg target (source + binary RPM), building with
KBUILD_OUTPUT set is not possible and also not needed as the
actual build is done in a temporary directory anyway, so check
that KBUILD_OUTPUT is not set in that case to avoid later errors.

Signed-off-by: default avatarFrans Pop <elendil@planet.nl>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent f144c78e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment