mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
12 lines
333 B
Makefile
12 lines
333 B
Makefile
|
# kbuild trick to avoid linker error. Can be omitted if a module is built.
|
||
|
obj- := dummy.o
|
||
|
|
||
|
# 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
|