On Mon, 3 Jun 2002 16:19:03 +0200,
Arnd Bergmann <[EMAIL PROTECTED]> wrote:
>I also noticed a minor problem: When you forget the '/' at the end of
>KBUILD_OBJTREE, weird things can happen. For example, some .tmp_* files are
>not created in OBJTREE, but one level higher and 'make oldconfig' starts
>compiling right after finishing the config.
Please try this:
Index: 18.85/Makefile-2.5
--- 18.85/Makefile-2.5 Mon, 03 Jun 2002 17:12:21 +1000 kaos
(linux-2.4/E/d/40_Makefile-2 1.32.2.27.1.4 644)
+++ 18.85(w)/Makefile-2.5 Tue, 04 Jun 2002 13:53:45 +1000 kaos
+(linux-2.4/E/d/40_Makefile-2 1.32.2.27.1.4 644)
@@ -73,8 +73,8 @@ srctrees := $(shell $(AWK) 'BEGIN { for
srctrees := $(strip $(foreach tree,$(srctrees),$(if $($(tree)),$(tree),)))
srctrees_assign := $(foreach tree,$(srctrees),$(tree)=$($(tree)))
-KBUILD_SRCTREE_000 := $(shell echo $(KBUILD_SRCTREE_000) | tr '\t' ' ' | sed -e
's:/* *$$:/:')
-KBUILD_OBJTREE := $(shell echo $(KBUILD_OBJTREE) | tr '\t' ' ' | sed -e
's:/* *$$:/:')
+override KBUILD_SRCTREE_000 := $(shell echo $(KBUILD_SRCTREE_000) | tr '\t' ' ' |
+sed -e 's:/* *$$:/:')
+override KBUILD_OBJTREE := $(shell echo $(KBUILD_OBJTREE) | tr
+'\t' ' ' | sed -e 's:/* *$$:/:')
# 'make KBUILD_QUIET=' to see almost all the commands.
KBUILD_QUIET := @
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel