]> bbs.cooldavid.org Git - net-next-2.6.git/commit
kbuild: fix the binrpm-pkg target to work with KBUILD_OUTPUT set
authorFrans Pop <elendil@planet.nl>
Tue, 25 Aug 2009 20:15:39 +0000 (22:15 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 11 Oct 2009 21:21:24 +0000 (23:21 +0200)
commitdb9038c89d129383a9db2afcb72b504fe54f6edf
tree52717e88f15718bd30077e18a75ac38e87d908fa
parentf144c78e525542c94e0dcb171b41cc5ef7b341b3
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: Frans Pop <elendil@planet.nl>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/package/Makefile
scripts/package/mkspec