diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2010-08-14 04:22:58 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2010-08-14 16:26:52 -0400 |
commit | 7cfddeef357aac78179ea804b11cffb5fbba8288 (patch) | |
tree | 6fb02879ab6ad179135b4005690316f07a455642 | |
parent | bf56fba6703592149e1bcd19220c60eb42dff9b7 (diff) |
kbuild: drop unifdef-y support
unifdef-y is not used anymore - drop remaining references
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 6 | ||||
-rw-r--r-- | scripts/Makefile.headersinst | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index c375313cb128..c787ae512120 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
@@ -45,7 +45,6 @@ This document describes the Linux kernel Makefiles. | |||
45 | --- 7.1 header-y | 45 | --- 7.1 header-y |
46 | --- 7.2 objhdr-y | 46 | --- 7.2 objhdr-y |
47 | --- 7.3 destination-y | 47 | --- 7.3 destination-y |
48 | --- 7.4 unifdef-y (deprecated) | ||
49 | 48 | ||
50 | === 8 Kbuild Variables | 49 | === 8 Kbuild Variables |
51 | === 9 Makefile language | 50 | === 9 Makefile language |
@@ -1245,11 +1244,6 @@ See subsequent chapter for the syntax of the Kbuild file. | |||
1245 | will be located in the directory "include/linux" when exported. | 1244 | will be located in the directory "include/linux" when exported. |
1246 | 1245 | ||
1247 | 1246 | ||
1248 | --- 7.4 unifdef-y (deprecated) | ||
1249 | |||
1250 | unifdef-y is deprecated. A direct replacement is header-y. | ||
1251 | |||
1252 | |||
1253 | === 8 Kbuild Variables | 1247 | === 8 Kbuild Variables |
1254 | 1248 | ||
1255 | The top Makefile exports the following variables: | 1249 | The top Makefile exports the following variables: |
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index 0fcd83838771..f89cb87f5c01 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst | |||
@@ -3,7 +3,6 @@ | |||
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 | # unifdef-y - Same as header-y. Obsolete | ||
7 | # objhdr-y - Same as header-y but for generated files | 6 | # objhdr-y - Same as header-y but for generated files |
8 | # | 7 | # |
9 | # ========================================================================== | 8 | # ========================================================================== |
@@ -20,7 +19,7 @@ include scripts/Kbuild.include | |||
20 | 19 | ||
21 | install := $(INSTALL_HDR_PATH)/$(_dst) | 20 | install := $(INSTALL_HDR_PATH)/$(_dst) |
22 | 21 | ||
23 | header-y := $(sort $(header-y) $(unifdef-y)) | 22 | header-y := $(sort $(header-y)) |
24 | subdirs := $(patsubst %/,%,$(filter %/, $(header-y))) | 23 | subdirs := $(patsubst %/,%,$(filter %/, $(header-y))) |
25 | header-y := $(filter-out %/, $(header-y)) | 24 | header-y := $(filter-out %/, $(header-y)) |
26 | 25 | ||