Skip to content

Commit

Permalink
kbuild: drop unifdef-y support
Browse files Browse the repository at this point in the history
unifdef-y is not used anymore - drop remaining references

Signed-off-by: Sam Ravnborg <[email protected]>
  • Loading branch information
sravnborg committed Aug 14, 2010
1 parent bf56fba commit 7cfddee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions Documentation/kbuild/makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ This document describes the Linux kernel Makefiles.
--- 7.1 header-y
--- 7.2 objhdr-y
--- 7.3 destination-y
--- 7.4 unifdef-y (deprecated)

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


--- 7.4 unifdef-y (deprecated)

unifdef-y is deprecated. A direct replacement is header-y.


=== 8 Kbuild Variables

The top Makefile exports the following variables:
Expand Down
3 changes: 1 addition & 2 deletions scripts/Makefile.headersinst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#
# header-y - list files to be installed. They are preprocessed
# to remove __KERNEL__ section of the file
# unifdef-y - Same as header-y. Obsolete
# objhdr-y - Same as header-y but for generated files
#
# ==========================================================================
Expand All @@ -20,7 +19,7 @@ include scripts/Kbuild.include

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

header-y := $(sort $(header-y) $(unifdef-y))
header-y := $(sort $(header-y))
subdirs := $(patsubst %/,%,$(filter %/, $(header-y)))
header-y := $(filter-out %/, $(header-y))

Expand Down

0 comments on commit 7cfddee

Please sign in to comment.