History

kbuild: drop unifdef-y support

unifdef-y is not used anymore - drop remaining references

Sam Ravnborg committed 16 years ago

Commit 7cfddee1 parent bf56fba2 files · +1 −8Browse files

Unified · Split

2 files
  1. Documentation/kbuild/makefiles.txt +0 −6
  2. scripts/Makefile.headersinst +1 −2
Documentation/kbuild/makefiles.txt+0−6
@@ -45,7 +45,6 @@ This document describes the Linux kernel Makefiles. · 44 unmodified lines
45 --- 7.1 header-y45 --- 7.1 header-y
46 --- 7.2 objhdr-y46 --- 7.2 objhdr-y
47 --- 7.3 destination-y47 --- 7.3 destination-y
48 --- 7.4 unifdef-y (deprecated)
49 48
50 === 8 Kbuild Variables49 === 8 Kbuild Variables
51 === 9 Makefile language50 === 9 Makefile language
@@ -1245,11 +1244,6 @@ See subsequent chapter for the syntax of the Kbuild file. · 1193 unmodified lines
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 Variables1247=== 8 Kbuild Variables
1254 1248
1255The top Makefile exports the following variables:1249The top Makefile exports the following variables:
scripts/Makefile.headersinst+1−2
@@ -3,7 +3,6 @@ · 2 unmodified lines
3#3#
4# header-y - list files to be installed. They are preprocessed4# header-y - list files to be installed. They are preprocessed
5# to remove __KERNEL__ section of the file5# 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 files6# 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
21install := $(INSTALL_HDR_PATH)/$(_dst)20install := $(INSTALL_HDR_PATH)/$(_dst)
22 21
23header-y := $(sort $(header-y) $(unifdef-y))22header-y := $(sort $(header-y))
24subdirs := $(patsubst %/,%,$(filter %/, $(header-y)))23subdirs := $(patsubst %/,%,$(filter %/, $(header-y)))
25header-y := $(filter-out %/, $(header-y))24header-y := $(filter-out %/, $(header-y))
26 25