unifdef-y is not used anymore - drop remaining references
Unified · Split
| @@ -45,7 +45,6 @@ This document describes the Linux kernel Makefiles. · 44 unmodified lines | ||
| 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 |
| @@ -1245,11 +1244,6 @@ See subsequent chapter for the syntax of the Kbuild file. · 1193 unmodified lines | ||
| 1245 | 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 | 1247 | === 8 Kbuild Variables |
| 1254 | 1248 | |
| 1255 | 1249 | The top Makefile exports the following variables: |
| @@ -3,7 +3,6 @@ · 2 unmodified lines | ||
| 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 @@ include scripts/Kbuild.include · 10 unmodified lines | ||
| 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 | |