summaryrefslogtreecommitdiff
path: root/core/mk/arch/mips/mips.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-05-04 21:44:38 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-05-04 22:56:43 +0200
commit087947e74fc701f90778f4beab36c9580b1698df (patch)
treec986674569f8b8e946890d3a58b67c61731da137 /core/mk/arch/mips/mips.mk
parent056bf55dabe00a2955d830060a2ad37593cd4546 (diff)
downloadembtoolkit-087947e74fc701f90778f4beab36c9580b1698df.tar.gz
embtoolkit-087947e74fc701f90778f4beab36c9580b1698df.tar.bz2
embtoolkit-087947e74fc701f90778f4beab36c9580b1698df.tar.xz
Toolchain: MIPS: add octeon+ and octeon2
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/mk/arch/mips/mips.mk')
-rw-r--r--core/mk/arch/mips/mips.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/core/mk/arch/mips/mips.mk b/core/mk/arch/mips/mips.mk
index a3653ac..797ab7a 100644
--- a/core/mk/arch/mips/mips.mk
+++ b/core/mk/arch/mips/mips.mk
@@ -1,6 +1,6 @@
################################################################################
# Embtoolkit
-# Copyright(C) 2009-2013 Abdoulaye Walsimou GAYE.
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
#
# This program is free software; you can distribute it and/or modify it
# under the terms of the GNU General Public License
@@ -84,6 +84,18 @@ STRICT_GNU_TARGET := mips64octeon$(__embtk_mips_endian)-unknown-$(embtk_os)-$(__
GNU_TARGET_ARCH := octeon
endif
+ifeq ($(CONFIG_EMBTK_ARCH_MIPS_OCTEON_PLUS),y)
+GNU_TARGET := mips64octeon$(__embtk_mips_endian)-$(embtk_os)
+STRICT_GNU_TARGET := mips64octeon$(__embtk_mips_endian)-unknown-$(embtk_os)-$(__embtk_mips_abi)
+GNU_TARGET_ARCH := octeon+
+endif
+
+ifeq ($(CONFIG_EMBTK_ARCH_MIPS_OCTEON2),y)
+GNU_TARGET := mips64octeon$(__embtk_mips_endian)-$(embtk_os)
+STRICT_GNU_TARGET := mips64octeon$(__embtk_mips_endian)-unknown-$(embtk_os)-$(__embtk_mips_abi)
+GNU_TARGET_ARCH := octeon2
+endif
+
EMBTK_MCU_FLAG := $(GNU_TARGET_ARCH)
#