Messages in this thread Patch in this message | | | Date | Thu, 19 Jan 2006 21:05:33 +0100 | From | Sam Ravnborg <> | Subject | [PATCH 3/3] kbuild: fix build with O=.. |
| |
Subject: [PATCH 3/3] 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>
---
Makefile | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
f73b6ff2f3e7981c0b9cd34a70c491dfa98fd396 diff --git a/Makefile b/Makefile index 37a4b67..671e6da 100644 --- a/Makefile +++ b/Makefile @@ -435,7 +435,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 # =========================================================================== @@ -1265,7 +1265,8 @@ define cmd_tags CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \ echo "-I __initdata,__exitdata,__acquires,__releases \ -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ - --extra=+f --c-kinds=+px"`; \ + --extra=+f --c-kinds=+px \ + --regex-asm=/ENTRY\(([^)]*)\).*/\1/"`; \ $(all-sources) | xargs ctags $$CTAGSF -a endef -- 1.0.GIT - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |