diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-30 19:49:21 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-30 19:49:21 +0000 |
commit | 49c5a210bf69b590d903e84f53db11c63663d43d (patch) | |
tree | 7743d9905871f3870e89b1070eaa94ba78029442 /config/target.in | |
parent | 271190fa1ecb3312f83f5e7e4608ed185c183dba (diff) | |
download | crosstool-ng-49c5a210bf69b590d903e84f53db11c63663d43d.tar.gz crosstool-ng-49c5a210bf69b590d903e84f53db11c63663d43d.tar.bz2 crosstool-ng-49c5a210bf69b590d903e84f53db11c63663d43d.zip |
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.
Diffstat (limited to 'config/target.in')
-rw-r--r-- | config/target.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in index 38d33600..2b849f59 100644 --- a/config/target.in +++ b/config/target.in @@ -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 |