1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-01 02:52:01 +03:00

don't use HOST input.h, thanks kyak

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-11-20 23:45:58 +08:00
parent 9c9b62d9fd
commit 43d6002c2d
2 changed files with 14 additions and 0 deletions

View File

@ -34,6 +34,8 @@ MAKE_FLAGS += \
$(TARGET_CONFIGURE_OPTS) \
$(1)
MAKE_VARS += TOOLCHAIN_DIR=$(TOOLCHAIN_DIR)
define Package/triggerhappy/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc

View File

@ -0,0 +1,12 @@
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: