summaryrefslogtreecommitdiffstats
path: root/samples/uhid/Makefile
blob: c95a696560a7de59f3a7839ef85ec57d90c3aa29 (plain)
1
2
3
4
5
6
7
8
9
10
# kbuild trick to avoid linker error. Can be omitted if a module is built.
obj- := dummy.o

# List of programs to build
hostprogs-y := uhid-example

# Tell kbuild to always build the programs
always := $(hostprogs-y)

HOSTCFLAGS_uhid-example.o += -I$(objtree)/usr/include
OpenPOWER on IntegriCloud