On Thu, Dec 20, 2001 at 03:24:28PM +1100, Keith Owens wrote: > On Wed, 19 Dec 2001 21:14:47 -0700, > Tom Rini <[EMAIL PROTECTED]> wrote: > >Okay, if I do that and add in: > >HEAD-y = head.o > >HEAD-$(CONFIG_8xx) := head_8xx.o > >HEAD-$(CONFIG_4xx) := head_4xx.o > >select($(HEAD-y)) > > > >Things get farther. Dunno if it'll select the right head for linking > >tho, but .tmp_env has arch_head set right (so why can't > >arch/ppc/kernel/Makefile.in use it?) > > Do this in arch/ppc/kernel/Makefile.in > > dummy := $(shell echo arch_head=$(arch_head) >&2) > dummy := $(shell echo notdir arch_head=$(notdir $(arch_head)) >&2) > select($(notdir $(arch_head)))
Starting phase 4 (build) for installable arch_head=arch/ppc/kernel/head_8xx.o notdir arch_head=arch/ppc/kernel/head_8xx.o make[1]: *** No rule to make target `arch/ppc/kernel/head_8xx.o', needed by `init/compile.h'. Stop. > Check $KBUILD_OBJTREE/.tmp_database under reldir /arch/ppc/kernel/, > select should contain (y_ /arch/ppc/kernel/head_xxx.o). select (y_ /arch/ppc/kernel/arch/ppc/kernel/head_8xx.o) -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel
