Re: Re: Announce: Kernel Build for 2.5, release 3.0 is available
Keith Owens <kaos <at> ocs.com.au>
2002-06-04 03:54:48 GMT
On Mon, 3 Jun 2002 16:19:03 +0200,
Arnd Bergmann <arnd <at> bergmann-dalldorf.de> 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)
<at> <at> -73,8 +73,8 <at> <at> 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 := <at>
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
(Continue reading)