aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-04-03 13:54:25 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-04-03 13:54:25 +0000
commit8cb8f805a591b82a2e21f7fea34311a2363b4765 (patch)
treede517aa86ff5d0792c309caba677f73c387fd286 /target
parent2f8201ec9d523ba93a8d8445a37e1c38087c57d0 (diff)
downloadupstream-8cb8f805a591b82a2e21f7fea34311a2363b4765.tar.gz
upstream-8cb8f805a591b82a2e21f7fea34311a2363b4765.tar.bz2
upstream-8cb8f805a591b82a2e21f7fea34311a2363b4765.zip
fix EABI kernel config on IOP32x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10720 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/iop32x/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/iop32x/Makefile b/target/linux/iop32x/Makefile
index ccecf204c8..82a3367a6a 100644
--- a/target/linux/iop32x/Makefile
+++ b/target/linux/iop32x/Makefile
@@ -15,4 +15,10 @@ LINUX_VERSION:=2.6.24.2
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
+
$(eval $(call BuildTarget))