projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix svn compressed patch breakage in libnet
[openwrt.git]
/
openwrt
/
target
/
linux
/
rules.mk
diff --git
a/openwrt/target/linux/rules.mk
b/openwrt/target/linux/rules.mk
index
39afadb
..
606efb6
100644
(file)
--- a/
openwrt/target/linux/rules.mk
+++ b/
openwrt/target/linux/rules.mk
@@
-1,3
+1,10
@@
+LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
+ -e 's/mipsel/mips/' \
+ -e 's/powerpc/ppc/' \
+ -e 's/sh[234]/sh/' \
+)
+
+
define KMOD_template
ifeq ($$(strip $(4)),)
KDEPEND_$(1):=m
define KMOD_template
ifeq ($$(strip $(4)),)
KDEPEND_$(1):=m
@@
-39,3
+46,5
@@
endif
$(IPKG_BUILD) $$(I_$(1)) $(PACKAGE_DIR)
endef
$(IPKG_BUILD) $$(I_$(1)) $(PACKAGE_DIR)
endef
+
+
This page took
0.028643 seconds
and
4
git commands to generate.