summaryrefslogtreecommitdiffstats
path: root/samples/hidraw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/hidraw/Makefile')
-rw-r--r--samples/hidraw/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/hidraw/Makefile b/samples/hidraw/Makefile
new file mode 100644
index 000000000..dec1b22ad
--- /dev/null
+++ b/samples/hidraw/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+# List of programs to build
+hostprogs-y := hid-example
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
+
+all: hid-example