Makefile 270 B

1234567891011
  1. # kbuild trick to avoid linker error. Can be omitted if a module is built.
  2. obj- := dummy.o
  3. # List of programs to build
  4. hostprogs-y := hid-example
  5. # Tell kbuild to always build the programs
  6. always := $(hostprogs-y)
  7. HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include