summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-01-21 12:07:56 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2006-01-21 12:07:56 +0100
commit8c7f75d3257fe466b34abf290c8b177c106c3769 (patch)
tree92657537cd517085fe10d727d3b2f006b20a3528 /Makefile
parentaa6ba2faec346a3f59bf4130060108e6433ad907 (diff)
downloadlwn-8c7f75d3257fe466b34abf290c8b177c106c3769.tar.gz
lwn-8c7f75d3257fe466b34abf290c8b177c106c3769.zip
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> ---
Diffstat (limited to 'Makefile')
-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
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
# ===========================================================================