diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-06-09 21:24:28 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-25 22:11:44 +0200 |
commit | 88181ec30f58a28cd78b26aaac38bef4062b23dc (patch) | |
tree | 91f83bc96d0b07e0d18ec1182f9d17cc9c9c730d /include | |
parent | f6ecd4c84a279a7c82f45687a612302becd7b844 (diff) | |
download | linux-88181ec30f58a28cd78b26aaac38bef4062b23dc.tar.gz linux-88181ec30f58a28cd78b26aaac38bef4062b23dc.tar.bz2 linux-88181ec30f58a28cd78b26aaac38bef4062b23dc.zip |
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')
-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 @@ +# Top-level Makefile calls into asm-$(ARCH) +# List only non-arch directories below + header-y += asm-generic/ header-y += linux/ header-y += sound/ @@ -5,5 +8,3 @@ header-y += mtd/ header-y += rdma/ header-y += video/ header-y += drm/ - -header-y += asm-$(ARCH)/ |