Makefile 272 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 := uhid-example
  5. # Tell kbuild to always build the programs
  6. always := $(hostprogs-y)
  7. HOSTCFLAGS_uhid-example.o += -I$(objtree)/usr/include