Skip to content
Snippets Groups Projects
Commit 986662b9 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: refactor part-of-module more


Make it even shorter.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 16b59cd7
No related branches found
No related tags found
No related merge requests found
......@@ -98,8 +98,7 @@ endif
# ---------------------------------------------------------------------------
# Default is built-in, unless we know otherwise
$(foreach x, i ll lst o s symtypes, $(patsubst %.o,%.$(x),$(real-obj-m))): \
part-of-module := y
part-of-module = $(if $(filter $(basename $@).o, $(real-obj-m)),y)
modkern_cflags = \
$(if $(part-of-module), \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment