Skip to content

Commit

Permalink
kbuild: Do not reference *-n variables in the Makefile
Browse files Browse the repository at this point in the history
Kconfig options are either 'y', 'm', or undefined.

Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
michal42 committed Oct 2, 2014
1 parent 5b2389b commit 3014223
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3014223

Please sign in to comment.