Commit 7cfddeef357aac78179ea804b11cffb5fbba8288
1 parent
bf56fba670
Exists in
master
and in
20 other branches
kbuild: drop unifdef-y support
unifdef-y is not used anymore - drop remaining references Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing 2 changed files with 1 additions and 8 deletions Side-by-side Diff
Documentation/kbuild/makefiles.txt
... | ... | @@ -45,7 +45,6 @@ |
45 | 45 | --- 7.1 header-y |
46 | 46 | --- 7.2 objhdr-y |
47 | 47 | --- 7.3 destination-y |
48 | - --- 7.4 unifdef-y (deprecated) | |
49 | 48 | |
50 | 49 | === 8 Kbuild Variables |
51 | 50 | === 9 Makefile language |
... | ... | @@ -1243,11 +1242,6 @@ |
1243 | 1242 | |
1244 | 1243 | In the example above all exported headers in the Kbuild file |
1245 | 1244 | will be located in the directory "include/linux" when exported. |
1246 | - | |
1247 | - | |
1248 | - --- 7.4 unifdef-y (deprecated) | |
1249 | - | |
1250 | - unifdef-y is deprecated. A direct replacement is header-y. | |
1251 | 1245 | |
1252 | 1246 | |
1253 | 1247 | === 8 Kbuild Variables |
scripts/Makefile.headersinst
... | ... | @@ -3,7 +3,6 @@ |
3 | 3 | # |
4 | 4 | # header-y - list files to be installed. They are preprocessed |
5 | 5 | # to remove __KERNEL__ section of the file |
6 | -# unifdef-y - Same as header-y. Obsolete | |
7 | 6 | # objhdr-y - Same as header-y but for generated files |
8 | 7 | # |
9 | 8 | # ========================================================================== |
... | ... | @@ -20,7 +19,7 @@ |
20 | 19 | |
21 | 20 | install := $(INSTALL_HDR_PATH)/$(_dst) |
22 | 21 | |
23 | -header-y := $(sort $(header-y) $(unifdef-y)) | |
22 | +header-y := $(sort $(header-y)) | |
24 | 23 | subdirs := $(patsubst %/,%,$(filter %/, $(header-y))) |
25 | 24 | header-y := $(filter-out %/, $(header-y)) |
26 | 25 |