aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-14 22:01:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-02-14 22:01:15 +0000
commit09edd23330955cdd670950a3b64cc5ed6ab8749c (patch)
treea5e6e8c8ec5eae7145382081686e2b9906046d0d /target/linux/ixp4xx/Makefile
parenta03a9308074d4c5f4ceba9c3acc9368eb6203f0d (diff)
downloadupstream-09edd23330955cdd670950a3b64cc5ed6ab8749c.tar.gz
upstream-09edd23330955cdd670950a3b64cc5ed6ab8749c.tar.bz2
upstream-09edd23330955cdd670950a3b64cc5ed6ab8749c.zip
add eabi autoselection for the kernel as well - fixes iptables problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10461 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/Makefile')
-rw-r--r--target/linux/ixp4xx/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/Makefile b/target/linux/ixp4xx/Makefile
index ec931a0a99..eec8d13f72 100644
--- a/target/linux/ixp4xx/Makefile
+++ b/target/linux/ixp4xx/Makefile
@@ -16,6 +16,12 @@ LINUX_VERSION:=2.6.23.16
include $(INCLUDE_DIR)/target.mk
+define Kernel/Configure
+ $(call Kernel/Configure/Default)
+ $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(LINUX_DIR)/.config
+ $(if $(CONFIG_EABI_SUPPORT),echo '# CONFIG_OABI_COMPAT is not set' >> $(LINUX_DIR)/.config)
+endef
+
DEFAULT_PACKAGES += ixp4xx-microcode
$(eval $(call BuildTarget))