mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-26 04:07:31 +02:00
don't use HOST input.h, thanks kyak
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
9c9b62d9fd
commit
43d6002c2d
@ -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
|
||||
|
12
utils/triggerhappy/patches/001-input.patch
Normal file
12
utils/triggerhappy/patches/001-input.patch
Normal 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:
|
Loading…
Reference in New Issue
Block a user