From: Sam Ravnborg Date: Sat, 21 Jan 2006 11:07:56 +0000 (+0100) Subject: kbuild: fix build with O=.. X-Git-Tag: v2.6.16-rc3~140^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c7f75d3257fe466b34abf290c8b177c106c3769;p=linux-2.6 kbuild: fix build with O=.. .kernelrelease was saved in same directory as kernel source also with make O=... Make sure we kick in the normal logic to shift to the output directory when we build .kernelrelease after executing *config. Signed-off-by: Sam Ravnborg --- --- diff --git a/Makefile b/Makefile index 252a659896..31bbc6ab3b 100644 --- a/Makefile +++ b/Makefile @@ -442,7 +442,7 @@ export KBUILD_DEFCONFIG config %config: scripts_basic outputmakefile FORCE $(Q)mkdir -p include/linux $(Q)$(MAKE) $(build)=scripts/kconfig $@ - $(Q)$(MAKE) .kernelrelease + $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease else # ===========================================================================