summaryrefslogtreecommitdiff
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
commitcce8347d18f6d3decc3192fcce39fa5a6db0e5e8 (patch)
treeb2cec014dd38536c0a9cbbd42f8f36b9517f75c4 /target/linux/ixp4xx/Makefile
parentcf1cf9a8fd5cd9f07543d4e81c1e73caf70ace67 (diff)
downloadmtk-20170518-cce8347d18f6d3decc3192fcce39fa5a6db0e5e8.zip
mtk-20170518-cce8347d18f6d3decc3192fcce39fa5a6db0e5e8.tar.gz
mtk-20170518-cce8347d18f6d3decc3192fcce39fa5a6db0e5e8.tar.bz2
add eabi autoselection for the kernel as well - fixes iptables problems
SVN-Revision: 10461
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 ec931a0..eec8d13 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))