summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-10-02 15:27:07 +0200
committerMichal Marek <mmarek@suse.cz>2014-10-02 15:31:53 +0200
commit30142230a730263e9989e0174b74c2429e041c8c (patch)
treed6fca824f385fa1bb096c777f4ff796d8cfb1803 /Makefile
parent5b2389b45d1a9c12b9f4b976e38c36264bfc42f5 (diff)
downloadlinux-30142230a730263e9989e0174b74c2429e041c8c.tar.bz2
kbuild: Do not reference *-n variables in the Makefile
Kconfig options are either 'y', 'm', or undefined. Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index efbd2cbd89ae..106f30012815 100644
--- a/Makefile
+++ b/Makefile
@@ -868,9 +868,7 @@ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
$(net-y) $(net-m) $(libs-y) $(libs-m)))
vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
- $(init-n) $(init-) \
- $(core-n) $(core-) $(drivers-n) $(drivers-) \
- $(net-n) $(net-) $(libs-n) $(libs-))))
+ $(init-) $(core-) $(drivers-) $(net-) $(libs-))))
init-y := $(patsubst %/, %/built-in.o, $(init-y))
core-y := $(patsubst %/, %/built-in.o, $(core-y))