diff options
-rw-r--r-- | core/kconfig/arch/mips/mips.kconfig | 12 | ||||
-rw-r--r-- | core/mk/arch/mips/mips.mk | 14 |
2 files changed, 24 insertions, 2 deletions
diff --git a/core/kconfig/arch/mips/mips.kconfig b/core/kconfig/arch/mips/mips.kconfig index 5857247..b0d539c 100644 --- a/core/kconfig/arch/mips/mips.kconfig +++ b/core/kconfig/arch/mips/mips.kconfig @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE. +# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -89,6 +89,16 @@ choice bool "Octeon" select EMBTK_TARGET_ARCH_64BITS select KEMBTK_UCLIBC_CONFIG_MIPS_ISA_MIPS64 if EMBTK_CLIB_UCLIBC + + config EMBTK_ARCH_MIPS_OCTEON_PLUS + bool "Octeon+" + select EMBTK_TARGET_ARCH_64BITS + select KEMBTK_UCLIBC_CONFIG_MIPS_ISA_MIPS64 if EMBTK_CLIB_UCLIBC + + config EMBTK_ARCH_MIPS_OCTEON2 + bool "Octeon2" + select EMBTK_TARGET_ARCH_64BITS + select KEMBTK_UCLIBC_CONFIG_MIPS_ISA_MIPS64 if EMBTK_CLIB_UCLIBC endchoice choice 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) # |