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))) select(notdir()) replaces your HEAD-y code. Check $KBUILD_OBJTREE/.tmp_database under reldir /arch/ppc/kernel/, select should contain (y_ /arch/ppc/kernel/head_xxx.o). What do the above debug statements produce and what errors are you getting? _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel
