aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.headersinst
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-02 13:01:56 -0400
committerDavid Howells <dhowells@redhat.com>2012-10-02 13:01:56 -0400
commit40f1d4c200187e4057380432d0d7f27450c34518 (patch)
tree7a9a647e4e3f184c9ac61ab6ec1e2de665369cfe /scripts/Makefile.headersinst
parentd183e6f570f3c0c23d253fd262c90244e72d7ffd (diff)
UAPI: Remove the objhdr-y export list
Remove the objhdr-y export list as it is no longer used. genhdr-y should be used instead. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'scripts/Makefile.headersinst')
-rw-r--r--scripts/Makefile.headersinst7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
index d3bae5e7b60..463b95acc15 100644
--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -3,8 +3,7 @@
3# 3#
4# header-y - list files to be installed. They are preprocessed 4# header-y - list files to be installed. They are preprocessed
5# to remove __KERNEL__ section of the file 5# to remove __KERNEL__ section of the file
6# objhdr-y - Same as header-y but for generated files 6# genhdr-y - Same as header-y but in a generated/ directory
7# genhdr-y - Same as objhdr-y but in a generated/ directory
8# 7#
9# ========================================================================== 8# ==========================================================================
10 9
@@ -37,9 +36,8 @@ wrapper-files := $(filter $(header-y), $(generic-y))
37 36
38# all headers files for this dir 37# all headers files for this dir
39header-y := $(filter-out $(generic-y), $(header-y)) 38header-y := $(filter-out $(generic-y), $(header-y))
40all-files := $(header-y) $(objhdr-y) $(genhdr-y) $(wrapper-files) 39all-files := $(header-y) $(genhdr-y) $(wrapper-files)
41input-files := $(addprefix $(srctree)/$(obj)/,$(header-y)) \ 40input-files := $(addprefix $(srctree)/$(obj)/,$(header-y)) \
42 $(addprefix $(objtree)/$(obj)/,$(objhdr-y)) \
43 $(addprefix $(objtree)/$(gen)/,$(genhdr-y)) 41 $(addprefix $(objtree)/$(gen)/,$(genhdr-y))
44output-files := $(addprefix $(install)/, $(all-files)) 42output-files := $(addprefix $(install)/, $(all-files))
45 43
@@ -56,7 +54,6 @@ quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\
56 file$(if $(word 2, $(all-files)),s)) 54 file$(if $(word 2, $(all-files)),s))
57 cmd_install = \ 55 cmd_install = \
58 $(PERL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \ 56 $(PERL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \
59 $(PERL) $< $(objtree)/$(obj) $(install) $(SRCARCH) $(objhdr-y); \
60 $(PERL) $< $(objtree)/$(gen) $(install) $(SRCARCH) $(genhdr-y); \ 57 $(PERL) $< $(objtree)/$(gen) $(install) $(SRCARCH) $(genhdr-y); \
61 for F in $(wrapper-files); do \ 58 for F in $(wrapper-files); do \
62 echo "\#include <asm-generic/$$F>" > $(install)/$$F; \ 59 echo "\#include <asm-generic/$$F>" > $(install)/$$F; \