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

Are we going to end up having go make amigahw.h 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> and then some specific #defines, 
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

What's the correct way to fix this?

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