summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-14 22:01:15 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-14 22:01:15 +0000
commit38eea496defbd149631071d1bb73bdbb5da12391 (patch)
treea5e6e8c8ec5eae7145382081686e2b9906046d0d /target/linux
parent6df5e6f2088d39e117540ab60345b65f32cfeadb (diff)
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')
-rw-r--r--target/linux/ixp4xx/Makefile6
-rw-r--r--target/linux/ixp4xx/config-default4
2 files changed, 8 insertions, 2 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))
diff --git a/target/linux/ixp4xx/config-default b/target/linux/ixp4xx/config-default
index 5116bd82b6..5b76e9c54d 100644
--- a/target/linux/ixp4xx/config-default
+++ b/target/linux/ixp4xx/config-default
@@ -1,5 +1,5 @@
# CONFIG_8139TOO is not set
-CONFIG_AEABI=y
+# CONFIG_AEABI is not set
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_APM is not set
# CONFIG_ARCH_AAEC2000 is not set
@@ -298,7 +298,7 @@ CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
# CONFIG_NO_IDLE_HZ is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NVRAM is not set
-CONFIG_OABI_COMPAT=y
+# CONFIG_OABI_COMPAT is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
CONFIG_PATA_ARTOP=m