Bug#445177: m68k: asm/cachectl.h ?
Hector Oron wrote:
> I am trying to build a gcc cross compiler package for i386->m68k but
> i get this error:
> ../../../src/libffi/src/m68k/ffi.c:13:26: error: asm/cachectl.h: No
> such file or directory
> Do you know where should be cachectl.h? As it is not in kernel headers.
> Or is it a bug on GCC code (ffi.c includes)?
This is a bug in linux-2.6. m68k fails to export the header.
The appended patch should fix this (untested).
diff --git a/include/asm-m68k/Kbuild b/include/asm-m68k/Kbuild
index c68e168..a60c1db 100644
@@ -1 +1,3 @@
+header-y += cachectl.h