From: Frans Pop Date: Tue, 25 Aug 2009 20:15:39 +0000 (+0200) Subject: kbuild: fix the binrpm-pkg target to work with KBUILD_OUTPUT set X-Git-Tag: v2.6.32-rc5~28^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db9038c89d129383a9db2afcb72b504fe54f6edf;p=pandora-kernel.git 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 Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed