On Wed, Dec 19, 2001 at 01:27:19PM -0700, Tom Rini wrote:
> On PPC, the APUS platform (which is an m68k + PPC upgrade), we need to
> include a bunch of m68k headers.  How should this be done w/ kbuild-2.5?
> Right now the files do #include <asm-m68k/foo.h>, but this fails when
> srcdir != objdir:
>   CC arch/ppc/kernel/irq.o
>   In file included from
>   /home/trini/work/kernel/kbuild/linux-2.4.16/arch/ppc/kernel/irq.c:62:
>   .tmp_include/src_000/asm/amigahw.h:9: asm-m68k/amigahw.h: No such file
>   or directory
>   pp_makefile3: Main command (pid 22079) returned 1
>   make[1]: *** [arch/ppc/kernel/irq.o] Error 1

Or rather, is there any better way than doing
extra_cflags_all($(src_includelist /include)) (or doing it per-file..)

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