aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/Makefile
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2009-03-06 21:12:14 +0000
committerMirko Vogt <mirko@openwrt.org>2009-03-06 21:12:14 +0000
commit64d26d131905275a3def9089185019b720bc2e65 (patch)
tree8c7438d7e8ab7d30259d4e79f0b63843dc420838 /target/linux/s3c24xx/Makefile
parentdd83b6c7aefff22302cec34dbc9cc3785d3fb8f4 (diff)
downloadupstream-64d26d131905275a3def9089185019b720bc2e65.tar.gz
upstream-64d26d131905275a3def9089185019b720bc2e65.tar.bz2
upstream-64d26d131905275a3def9089185019b720bc2e65.zip
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 309c176cfd..33c7a55480 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))