From: Michal Marek <mmarek@suse.cz>
Date: Thu, 2 Oct 2014 13:27:07 +0000 (+0200)
Subject: kbuild: Do not reference *-n variables in the Makefile
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=30142230a730263e9989e0174b74c2429e041c8c;p=linux.git

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>
---

diff --git a/Makefile b/Makefile
index efbd2cbd89ae3..106f300128159 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))