kbuild: handle part-of-module correctly for *.ll and *.symtypes
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 12:01:56 +0000 (21:01 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 16 Dec 2018 15:33:43 +0000 (00:33 +0900)
The single targets *.ll and *.symtypes have never been treated as
a module. Fix it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.build

index c09fe9099f58272e80dbfae00489024ff2159e9d..0f2b5f07926b01d3253f0ffbc5d35d89f1a973cf 100644 (file)
@@ -94,7 +94,7 @@ endif
 # ---------------------------------------------------------------------------
 
 # Default is built-in, unless we know otherwise
-$(foreach x, i lst o s, $(patsubst %.o,%.$(x),$(real-obj-m))): \
+$(foreach x, i ll lst o s symtypes, $(patsubst %.o,%.$(x),$(real-obj-m))): \
        part-of-module := y
 
 modkern_cflags =                                          \