diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-08-15 10:43:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-08-15 10:43:09 +0000 |
commit | ae11850ab37be5109f88f7c7d786b1585a70fe01 (patch) | |
tree | f57daf2b8e9360440511fbc2c7128196754483f4 /target/linux/rules.mk | |
parent | 86a2bb674a5652286503b2f74ca3a4bcb3a14603 (diff) | |
download | upstream-ae11850ab37be5109f88f7c7d786b1585a70fe01.tar.gz upstream-ae11850ab37be5109f88f7c7d786b1585a70fe01.tar.bz2 upstream-ae11850ab37be5109f88f7c7d786b1585a70fe01.zip |
add fixes from whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1683 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rules.mk')
-rw-r--r-- | target/linux/rules.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/rules.mk b/target/linux/rules.mk index 39afadb341..606efb6d9e 100644 --- a/target/linux/rules.mk +++ b/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 @@ -39,3 +46,5 @@ endif $(IPKG_BUILD) $$(I_$(1)) $(PACKAGE_DIR) endef + + |