1 # kbuild trick to avoid linker error. Can be omitted if a module is built.
4 # List of programs to build
5 hostprogs-y := spidev_test spidev_fdx
7 # Tell kbuild to always build the programs
8 always := $(hostprogs-y)
10 HOSTCFLAGS_spidev_test.o += -I$(objtree)/usr/include
11 HOSTCFLAGS_spidev_fdx.o += -I$(objtree)/usr/include