linux/Documentation/spi/Makefile
<<
>>
Prefs
   1# kbuild trick to avoid linker error. Can be omitted if a module is built.
   2obj- := dummy.o
   3
   4# List of programs to build
   5hostprogs-y := spidev_test spidev_fdx
   6
   7# Tell kbuild to always build the programs
   8always := $(hostprogs-y)
   9
  10HOSTCFLAGS_spidev_test.o += -I$(objtree)/usr/include
  11HOSTCFLAGS_spidev_fdx.o += -I$(objtree)/usr/include
  12