1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-23 21:43:21 +02:00
openwrt-packages/utils/triggerhappy/patches/001-input.patch

13 lines
457 B
Diff
Raw Normal View History

diff -ur triggerhappy-0.1.3.orig/Makefile triggerhappy-0.1.3/Makefile
--- triggerhappy-0.1.3.orig/Makefile 2010-11-18 11:42:08.402150170 +0300
+++ triggerhappy-0.1.3/Makefile 2010-11-18 12:09:55.033025473 +0300
@@ -23,7 +23,7 @@
--release="" \
$< > $@
-evtable_%.h: /usr/include/linux/input.h
+evtable_%.h: $(TOOLCHAIN_DIR)/usr/include/linux/input.h
awk '/^#define $*_/ && $$2 !~ /_(MAX|CNT|VERSION)$$/ {print "EV_MAP("$$2"),"}' $< > $@
clean: