summaryrefslogtreecommitdiffstats
path: root/samples/hidraw/Makefile
diff options
context:
space:
mode:
authorAlan Ott <alan@signal11.us>2011-03-19 20:29:44 -0400
committerJiri Kosina <jkosina@suse.cz>2011-03-22 11:43:50 +0100
commitc54ea4918c2b7722d7242ea53271356501988a9b (patch)
treee4c7b3c77748eef20e8b844633643cb00d8bc5e2 /samples/hidraw/Makefile
parent99759619b27662d1290901228d77a293e6e83200 (diff)
downloadtalos-op-linux-c54ea4918c2b7722d7242ea53271356501988a9b.tar.gz
talos-op-linux-c54ea4918c2b7722d7242ea53271356501988a9b.zip
HID: Documentation for hidraw
Documenation for the hidraw driver, with sample program. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
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 000000000000..7811cb0289aa
--- /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)
OpenPOWER on IntegriCloud