Skip to content

Commit 7cfddee

Browse files
committed
kbuild: drop unifdef-y support
unifdef-y is not used anymore - drop remaining references Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
1 parent bf56fba commit 7cfddee

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

‎Documentation/kbuild/makefiles.txt‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ This document describes the Linux kernel Makefiles.
4545
--- 7.1 header-y
4646
--- 7.2 objhdr-y
4747
--- 7.3 destination-y
48-
--- 7.4 unifdef-y (deprecated)
4948

5049
=== 8 Kbuild Variables
5150
=== 9 Makefile language
@@ -1245,11 +1244,6 @@ See subsequent chapter for the syntax of the Kbuild file.
12451244
will be located in the directory "include/linux" when exported.
12461245

12471246

1248-
--- 7.4 unifdef-y (deprecated)
1249-
1250-
unifdef-y is deprecated. A direct replacement is header-y.
1251-
1252-
12531247
=== 8 Kbuild Variables
12541248

12551249
The top Makefile exports the following variables:

‎scripts/Makefile.headersinst‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44
# header-y - list files to be installed. They are preprocessed
55
# to remove __KERNEL__ section of the file
6-
# unifdef-y - Same as header-y. Obsolete
76
# objhdr-y - Same as header-y but for generated files
87
#
98
# ==========================================================================
@@ -20,7 +19,7 @@ include scripts/Kbuild.include
2019

2120
install := $(INSTALL_HDR_PATH)/$(_dst)
2221

23-
header-y := $(sort $(header-y) $(unifdef-y))
22+
header-y := $(sort $(header-y))
2423
subdirs := $(patsubst %/,%,$(filter %/, $(header-y)))
2524
header-y := $(filter-out %/, $(header-y))
2625

0 commit comments

Comments
 (0)