mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +00:00
For those architectures that support both endianness, some default to big endian, others default to little endian.
Make this possible in the target selection menu.
This commit is contained in:
parent
271190fa1e
commit
49c5a210bf
@ -20,11 +20,13 @@ config ARCH_ARM
|
||||
bool
|
||||
prompt "arm"
|
||||
select ARCH_SUPPORTS_BOTH_ENDIAN
|
||||
select ARCH_DEFAULT_BE
|
||||
|
||||
config ARCH_MIPS
|
||||
bool
|
||||
prompt "mips"
|
||||
select ARCH_SUPPORTS_BOTH_ENDIAN
|
||||
select ARCH_DEFAULT_LE
|
||||
|
||||
config ARCH_x86
|
||||
bool
|
||||
@ -40,10 +42,20 @@ config ARCH_SUPPORTS_BOTH_ENDIAN
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_DEFAULT_BE
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_DEFAULT_LE
|
||||
bool
|
||||
default n
|
||||
|
||||
choice
|
||||
bool
|
||||
prompt "Endianness:"
|
||||
depends on ARCH_SUPPORTS_BOTH_ENDIAN
|
||||
default ARCH_BE if ARCH_DEFAULT_BE
|
||||
default ARCH_LE if ARCH_DEFAULT_LE
|
||||
|
||||
config ARCH_BE
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user