Skip to content

Commit 3014223

Browse files
committed
kbuild: Do not reference *-n variables in the Makefile
Kconfig options are either 'y', 'm', or undefined. Signed-off-by: Michal Marek <[email protected]>
1 parent 5b2389b commit 3014223

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

+1-3
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,7 @@ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
868868
$(net-y) $(net-m) $(libs-y) $(libs-m)))
869869

870870
vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
871-
$(init-n) $(init-) \
872-
$(core-n) $(core-) $(drivers-n) $(drivers-) \
873-
$(net-n) $(net-) $(libs-n) $(libs-))))
871+
$(init-) $(core-) $(drivers-) $(net-) $(libs-))))
874872

875873
init-y := $(patsubst %/, %/built-in.o, $(init-y))
876874
core-y := $(patsubst %/, %/built-in.o, $(core-y))

0 commit comments

Comments
 (0)