mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
kbuild: refactor part-of-module more
Make it even shorter. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
16b59cd785
commit
986662b903
1 changed files with 1 additions and 2 deletions
|
|
@ -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), \
|
||||
|
|
|
|||
Loading…
Reference in a new issue