openwrt/target/linux/s3c24xx/Makefile
Mirko Vogt 7028d414a3 prepare target for use with EABI
SVN-Revision: 14766
2009-03-06 21:12:14 +00:00

31 lines
680 B
Makefile

#
# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=s3c24xx
BOARDNAME:=s3c24xx
FEATURES:=jffs2
LINUX_VERSION:=2.6.28.7
DEVICE_TYPE=phone
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))