mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-11 21:15:21 +00:00
Added MSP430 architecture support.
Signed-off-by: Andrew Wygle <awygle@gmail.com>
This commit is contained in:
parent
259173bb5e
commit
68d0cfd0e0
8
config/arch/msp430.in
Normal file
8
config/arch/msp430.in
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# MSP430 specific config options
|
||||||
|
|
||||||
|
## select ARCH_SUPPORTS_16
|
||||||
|
## select ARCH_DEFAULT_16
|
||||||
|
## select ARCH_REQUIRES_MULTILIB
|
||||||
|
##
|
||||||
|
## help The 16-bit MSP430 architecture, as defined by:
|
||||||
|
## help http://www.ti.com/lsds/ti/microcontrollers-16-bit-32-bit/msp/overview.page?HQS=msp430
|
@ -132,6 +132,9 @@ config ARCH_ENDIAN
|
|||||||
config ARCH_SUPPORTS_8
|
config ARCH_SUPPORTS_8
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config ARCH_SUPPORTS_16
|
||||||
|
bool
|
||||||
|
|
||||||
config ARCH_SUPPORTS_32
|
config ARCH_SUPPORTS_32
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -165,6 +168,11 @@ config ARCH_8
|
|||||||
prompt "8-bit"
|
prompt "8-bit"
|
||||||
depends on ARCH_SUPPORTS_8
|
depends on ARCH_SUPPORTS_8
|
||||||
|
|
||||||
|
config ARCH_16
|
||||||
|
bool
|
||||||
|
prompt "16-bit"
|
||||||
|
depends on ARCH_SUPPORTS_16
|
||||||
|
|
||||||
config ARCH_32
|
config ARCH_32
|
||||||
bool
|
bool
|
||||||
prompt "32-bit"
|
prompt "32-bit"
|
||||||
|
6
scripts/build/arch/msp430.sh
Normal file
6
scripts/build/arch/msp430.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Compute MSP430-specific values
|
||||||
|
|
||||||
|
CT_DoArchTupleValues() {
|
||||||
|
CT_TARGET_ARCH="${CT_ARCH}"
|
||||||
|
CT_TARGET_SKIP_CONFIG_SUB="y"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user