diff options
author | Michal Marek <mmarek@suse.cz> | 2014-10-02 09:27:07 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-10-02 09:31:53 -0400 |
commit | 30142230a730263e9989e0174b74c2429e041c8c (patch) | |
tree | d6fca824f385fa1bb096c777f4ff796d8cfb1803 | |
parent | 5b2389b45d1a9c12b9f4b976e38c36264bfc42f5 (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-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 | ||
870 | vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \ | 870 | vmlinux-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 | ||
875 | init-y := $(patsubst %/, %/built-in.o, $(init-y)) | 873 | init-y := $(patsubst %/, %/built-in.o, $(init-y)) |
876 | core-y := $(patsubst %/, %/built-in.o, $(core-y)) | 874 | core-y := $(patsubst %/, %/built-in.o, $(core-y)) |