2011-03-20 03:29:44 +03: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 13:10:42 +04:00
|
|
|
|
|
|
|
HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
|
2015-03-14 23:57:22 +03:00
|
|
|
|
|
|
|
all: hid-example
|