aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-01-21 06:07:56 -0500
committerSam Ravnborg <sam@mars.ravnborg.org>2006-01-21 06:07:56 -0500
commit8c7f75d3257fe466b34abf290c8b177c106c3769 (patch)
tree92657537cd517085fe10d727d3b2f006b20a3528
parentaa6ba2faec346a3f59bf4130060108e6433ad907 (diff)
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 <sam@ravnborg.org> ---
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 252a659896f3..31bbc6ab3b8a 100644
--- a/Makefile
+++ b/Makefile
@@ -442,7 +442,7 @@ export KBUILD_DEFCONFIG
442config %config: scripts_basic outputmakefile FORCE 442config %config: scripts_basic outputmakefile FORCE
443 $(Q)mkdir -p include/linux 443 $(Q)mkdir -p include/linux
444 $(Q)$(MAKE) $(build)=scripts/kconfig $@ 444 $(Q)$(MAKE) $(build)=scripts/kconfig $@
445 $(Q)$(MAKE) .kernelrelease 445 $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
446 446
447else 447else
448# =========================================================================== 448# ===========================================================================