mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
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]>
9 lines
241 B
Makefile
9 lines
241 B
Makefile
# List of programs to build
|
|
hostprogs-y := spidev_test spidev_fdx
|
|
|
|
# Tell kbuild to always build the programs
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS_spidev_test.o += -I$(objtree)/usr/include
|
|
HOSTCFLAGS_spidev_fdx.o += -I$(objtree)/usr/include
|