diff options
Diffstat (limited to 'kernel/samples/uhid/Makefile')
-rw-r--r-- | kernel/samples/uhid/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/samples/uhid/Makefile b/kernel/samples/uhid/Makefile new file mode 100644 index 000000000..c95a69656 --- /dev/null +++ b/kernel/samples/uhid/Makefile @@ -0,0 +1,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 |