1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-18 02:16:15 +02:00
openwrt-packages/triggersad/patches/001-input.patch
2010-11-20 19:43:19 +03:00

13 lines
457 B
Diff

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: