arch_head must be defined in arch/$(ARCH)/Makefile.defs.noconfig.  The
value of arch_head is used by pp_makefile2 to generate the global
makefile, Makefile.defs.config is not read until after the global
makefile is created, in fact Makefile.defs.config is only read by the
global makefile.

There is a bug in pp_makefile2.c, trim_arch_head() assumes that
arch_head is always set to at least one string.  If you really need an
empty arch_head, change trim_arch_head() from
    for (a = arch_head; *a; ++a) {
to
    for (a = arch_head; a && *a; ++a) {


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

Reply via email to