aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-10-02 09:27:07 -0400
committerMichal Marek <mmarek@suse.cz>2014-10-02 09:31:53 -0400
commit30142230a730263e9989e0174b74c2429e041c8c (patch)
treed6fca824f385fa1bb096c777f4ff796d8cfb1803
parent5b2389b45d1a9c12b9f4b976e38c36264bfc42f5 (diff)
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>
-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) \
868 $(net-y) $(net-m) $(libs-y) $(libs-m))) 868 $(net-y) $(net-m) $(libs-y) $(libs-m)))
869 869
870vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \ 870vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
871 $(init-n) $(init-) \ 871 $(init-) $(core-) $(drivers-) $(net-) $(libs-))))
872 $(core-n) $(core-) $(drivers-n) $(drivers-) \
873 $(net-n) $(net-) $(libs-n) $(libs-))))
874 872
875init-y := $(patsubst %/, %/built-in.o, $(init-y)) 873init-y := $(patsubst %/, %/built-in.o, $(init-y))
876core-y := $(patsubst %/, %/built-in.o, $(core-y)) 874core-y := $(patsubst %/, %/built-in.o, $(core-y))