aboutsummaryrefslogtreecommitdiffstats
path: root/samples/hidraw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/hidraw/Makefile')
-rw-r--r--samples/hidraw/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/hidraw/Makefile b/samples/hidraw/Makefile
new file mode 100644
index 0000000..7811cb0
--- /dev/null
+++ b/samples/hidraw/Makefile
@@ -0,0 +1,8 @@
+# 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)