2011-03-19 18:29:44 -06:00
|
|
|
# kbuild trick to avoid linker error. Can be omitted if a module is built.
|
|
|
|
obj- := dummy.o
|
|
|
|
|
|
|
|
# List of programs to build
|
|
|
|
hostprogs-y := hid-example
|
|
|
|
|
|
|
|
# Tell kbuild to always build the programs
|
|
|
|
always := $(hostprogs-y)
|
2011-04-21 03:10:42 -06:00
|
|
|
|
|
|
|
HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
|
2015-03-14 14:57:22 -06:00
|
|
|
|
|
|
|
all: hid-example
|