On Thu, Dec 20, 2001 at 03:06:19PM +1100, Keith Owens wrote:
> On Wed, 19 Dec 2001 20:41:18 -0700, 
> Tom Rini <[EMAIL PROTECTED]> wrote:
> >Okay.  If I do make -f Makefile-2.5 installable I get:
> >MAKECMDGOALS=installable
> >filter=
> >passed filter
> >before CONFIG_8xx=
> >included .config
> >after CONFIG_8xx=y
> >CONFIG_4xx=
> >CONFIG_8xx=y
> >arch_head for CONFIG_8xx=arch/ppc/kernel/head_8xx.o
> >Using ARCH='ppc' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E'
> >AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
> >Generating global Makefile
> >  phase 1 (find all inputs)
> >  phase 2 (evaluate selections)
> >  phase 5 (dependencies from previous build)
> >  phase 3 (write global makefile)
> >Starting phase 4 (build) for installable
> >make[1]: *** No rule to make target `arch/ppc/kernel/head_8xx.o', needed
> >by `init/compile.h'.  Stop.
> >
> >But if I just do 'make -f Makefile-2.5' I get the same error as before.
> 
> Make thinks that the result of filtering a null string is not equal to
> itself NUL != NUL :(.  Replace
[snip]

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?)

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to