diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-04-11 17:51:31 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-04-11 17:51:31 +0000 |
commit | 391eb7976db77300366c623312485c6de76fd462 (patch) | |
tree | ea4d1606304d21d984c51bd0b5f8f04cb2d00094 /config/target.in | |
parent | 5f1a6f35e01c5bb690a75c8992a4ad4c7cf45fb5 (diff) | |
download | crosstool-ng-391eb7976db77300366c623312485c6de76fd462.tar.gz crosstool-ng-391eb7976db77300366c623312485c6de76fd462.tar.bz2 crosstool-ng-391eb7976db77300366c623312485c6de76fd462.zip |
Don't prompt for endianness not suppoted by selected architecture.
Change suggested by Robert P. J. DAY <rpjday@mindspring.com>.
Diffstat (limited to 'config/target.in')
-rw-r--r-- | config/target.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in index 42a7a3a4..1c87ff10 100644 --- a/config/target.in +++ b/config/target.in @@ -12,21 +12,35 @@ choice config ARCH_ARM bool prompt "arm" + select ARCH_SUPPORTS_BE + select ARCH_SUPPORTS_LE config ARCH_MIPS bool prompt "mips" + select ARCH_SUPPORTS_BE + select ARCH_SUPPORTS_LE config ARCH_x86 bool prompt "x86" + select ARCH_SUPPORTS_LE config ARCH_x86_64 bool prompt "x86_64" + select ARCH_SUPPORTS_LE endchoice +config ARCH_SUPPORTS_BE + bool + default n + +config ARCH_SUPPORTS_LE + bool + default n + choice bool prompt "Endianness:" @@ -34,10 +48,12 @@ choice config ARCH_BE bool prompt "Big endian" + depends on ARCH_SUPPORTS_BE config ARCH_LE bool prompt "Little endian" + depends on ARCH_SUPPORTS_LE endchoice |