OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Commit Details
Date: | 2010-11-20 16:45:58 (13 years 4 months ago) |
---|---|
Author: | Xiangfu Liu |
Commit: | 43d6002c2d89fe51a688fb6d3a0b65de632330d9 |
Message: | don't use HOST input.h, thanks kyak Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc> |
Files: |
utils/triggerhappy/Makefile (1 diff) utils/triggerhappy/patches/001-input.patch (1 diff) |
Change Details
utils/triggerhappy/Makefile | ||
---|---|---|
34 | 34 | $(TARGET_CONFIGURE_OPTS) \ |
35 | 35 | $(1) |
36 | 36 | |
37 | MAKE_VARS += TOOLCHAIN_DIR=$(TOOLCHAIN_DIR) | |
38 | ||
37 | 39 | define Package/triggerhappy/install |
38 | 40 | $(INSTALL_DIR) $(1)/usr/sbin |
39 | 41 | $(INSTALL_DIR) $(1)/etc |
utils/triggerhappy/patches/001-input.patch | ||
---|---|---|
1 | diff -ur triggerhappy-0.1.3.orig/Makefile triggerhappy-0.1.3/Makefile | |
2 | --- triggerhappy-0.1.3.orig/Makefile 2010-11-18 11:42:08.402150170 +0300 | |
3 | @@ -23,7 +23,7 @@ | |
4 | --release="" \ | |
5 | $< > $@ | |
6 | ||
7 | -evtable_%.h: /usr/include/linux/input.h | |
8 | +evtable_%.h: $(TOOLCHAIN_DIR)/usr/include/linux/input.h | |
9 | awk '/^#define $*_/ && $$2 !~ /_(MAX|CNT|VERSION)$$/ {print "EV_MAP("$$2"),"}' $< > $@ | |
10 | ||
11 | clean: |