arch/tile: add the <arch> headers to the set of installed kernel headers
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 3 Nov 2011 02:33:07 +0000 (22:33 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Thu, 3 Nov 2011 20:58:48 +0000 (16:58 -0400)
These headers are similar to the <asm> headers that describe kernel
APIs, but instead describe aspects of the actual hardware in an
OS- and application-independent manner.  We need to include them in
the set of installed headers so that userspace tools (including glibc)
can build purely from the provided kernel headers.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/arch/Kbuild [new file with mode: 0644]
arch/tile/include/asm/Kbuild

diff --git a/arch/tile/include/arch/Kbuild b/arch/tile/include/arch/Kbuild
new file mode 100644 (file)
index 0000000..9c0ea24
--- /dev/null
@@ -0,0 +1,17 @@
+header-y += abi.h
+header-y += chip.h
+header-y += chip_tile64.h
+header-y += chip_tilegx.h
+header-y += chip_tilepro.h
+header-y += icache.h
+header-y += interrupts.h
+header-y += interrupts_32.h
+header-y += interrupts_64.h
+header-y += opcode.h
+header-y += opcode_tilegx.h
+header-y += opcode_tilepro.h
+header-y += sim.h
+header-y += sim_def.h
+header-y += spr_def.h
+header-y += spr_def_32.h
+header-y += spr_def_64.h
index aec60dc0600710eeb75d8b4e32aaa1833e04eda7..0bb42642343a2a9b0ef8cc40e2fdca86777f455b 100644 (file)
@@ -1,5 +1,7 @@
 include include/asm-generic/Kbuild.asm
 
+header-y += ../arch/
+
 header-y += ucontext.h
 header-y += hardwall.h