# HG changeset patch # User "Yann E. MORIN" # Date 1188503361 0 # Node ID 10d6514f4f94dfd268c622becddc4f331e57f9aa # Parent 33e5e62eeee7f17dd1c6a473fe1a4ff44c93045e 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. diff -r 33e5e62eeee7 -r 10d6514f4f94 config/target.in --- a/config/target.in Thu Aug 30 19:22:15 2007 +0000 +++ b/config/target.in Thu Aug 30 19:49:21 2007 +0000 @@ -20,11 +20,13 @@ 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 @@ 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