summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/Makefile
diff options
context:
space:
mode:
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-06 21:12:14 +0000
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-06 21:12:14 +0000
commitf78cc362dea387011962941efbc69178e1afe8b5 (patch)
tree8c7438d7e8ab7d30259d4e79f0b63843dc420838 /target/linux/s3c24xx/Makefile
parent54b995e5a80621b45a46d8c9452aa8fe7f57fd9e (diff)
prepare target for use with EABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/Makefile')
-rw-r--r--target/linux/s3c24xx/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/Makefile b/target/linux/s3c24xx/Makefile
index 309c176cf..33c7a5548 100644
--- a/target/linux/s3c24xx/Makefile
+++ b/target/linux/s3c24xx/Makefile
@@ -19,6 +19,12 @@ define Target/Description
OpenMoko gta02
endef
+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
+
include $(INCLUDE_DIR)/target.mk
$(eval $(call BuildTarget))