aboutsummaryrefslogtreecommitdiffstats
path: root/include/Kbuild
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-06-09 15:24:28 -0400
committerSam Ravnborg <sam@ravnborg.org>2008-07-25 16:11:44 -0400
commit88181ec30f58a28cd78b26aaac38bef4062b23dc (patch)
tree91f83bc96d0b07e0d18ec1182f9d17cc9c9c730d /include/Kbuild
parentf6ecd4c84a279a7c82f45687a612302becd7b844 (diff)
kbuild: only one call for include/ in make headers_*
Move it to the top-level file to decide if we install/check the generic headers or the arch specific headers. This revealed a long standing bug where "make headers_check_all" relied on the files in asm/ for the current architecture. So make headers_check_all is now broken by this commit. In addition: o add a simpler way to detect if an arch support exporting header files. o add 'set -e;' so we error out early if make headers_check_all fails. o add sparc64 and cris to arch we do not process in make headers_*_all because: sparc64 - use sparc to export headers cris - is know seriously broken Includes suggestions from: David Woodhouse <dwmw2@infradead.org>. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/Kbuild')
-rw-r--r--include/Kbuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Kbuild b/include/Kbuild
index bdca155028ec..d8c3e3cbf416 100644
--- a/include/Kbuild
+++ b/include/Kbuild
@@ -1,3 +1,6 @@
1# Top-level Makefile calls into asm-$(ARCH)
2# List only non-arch directories below
3
1header-y += asm-generic/ 4header-y += asm-generic/
2header-y += linux/ 5header-y += linux/
3header-y += sound/ 6header-y += sound/
@@ -5,5 +8,3 @@ header-y += mtd/
5header-y += rdma/ 8header-y += rdma/
6header-y += video/ 9header-y += video/
7header-y += drm/ 10header-y += drm/
8
9header-y += asm-$(ARCH)/