mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Documentation: use subdir-y to avoid unnecessary built-in.o files
Change the Documentation makefiles from obj-m to subdir-y to avoid generating unnecessary built-in.o files since nothing in Documentation/ is ever linked in to vmlinux. Signed-off-by: Peter Foley <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
f4cb707e7a
commit
df68a01014
15 changed files with 6 additions and 43 deletions
1
Documentation/misc-devices/Makefile
Normal file
1
Documentation/misc-devices/Makefile
Normal file
|
|
@ -0,0 +1 @@
|
|||
subdir-y := mei
|
||||
|
|
@ -1,6 +1,3 @@
|
|||
# kbuild trick to avoid linker error. Can be omitted if a module is built.
|
||||
obj- := dummy.o
|
||||
|
||||
# List of programs to build
|
||||
hostprogs-y := mei-amt-version
|
||||
HOSTCFLAGS_mei-amt-version.o += -I$(objtree)/usr/include
|
||||
|
|
|
|||
Loading…
Reference in a new issue