diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-06-09 15:24:28 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-25 16:11:44 -0400 |
commit | 88181ec30f58a28cd78b26aaac38bef4062b23dc (patch) | |
tree | 91f83bc96d0b07e0d18ec1182f9d17cc9c9c730d /include/Kbuild | |
parent | f6ecd4c84a279a7c82f45687a612302becd7b844 (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/Kbuild | 5 |
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 | |||
1 | header-y += asm-generic/ | 4 | header-y += asm-generic/ |
2 | header-y += linux/ | 5 | header-y += linux/ |
3 | header-y += sound/ | 6 | header-y += sound/ |
@@ -5,5 +8,3 @@ header-y += mtd/ | |||
5 | header-y += rdma/ | 8 | header-y += rdma/ |
6 | header-y += video/ | 9 | header-y += video/ |
7 | header-y += drm/ | 10 | header-y += drm/ |
8 | |||
9 | header-y += asm-$(ARCH)/ | ||