config/target.in
changeset 35 2dce00870893
parent 1 eeea35fbf182
child 41 fd6ad5721f77
     1.1 --- a/config/target.in	Sat Feb 24 11:00:05 2007 +0000
     1.2 +++ b/config/target.in	Wed Apr 11 17:51:31 2007 +0000
     1.3 @@ -12,21 +12,35 @@
     1.4  config ARCH_ARM
     1.5      bool
     1.6      prompt "arm"
     1.7 +    select ARCH_SUPPORTS_BE
     1.8 +    select ARCH_SUPPORTS_LE
     1.9  
    1.10  config ARCH_MIPS
    1.11      bool
    1.12      prompt "mips"
    1.13 +    select ARCH_SUPPORTS_BE
    1.14 +    select ARCH_SUPPORTS_LE
    1.15  
    1.16  config ARCH_x86
    1.17      bool
    1.18      prompt "x86"
    1.19 +    select ARCH_SUPPORTS_LE
    1.20  
    1.21  config ARCH_x86_64
    1.22      bool
    1.23      prompt "x86_64"
    1.24 +    select ARCH_SUPPORTS_LE
    1.25  
    1.26  endchoice
    1.27  
    1.28 +config ARCH_SUPPORTS_BE
    1.29 +    bool
    1.30 +    default n
    1.31 +
    1.32 +config ARCH_SUPPORTS_LE
    1.33 +    bool
    1.34 +    default n
    1.35 +
    1.36  choice
    1.37      bool
    1.38      prompt "Endianness:"
    1.39 @@ -34,10 +48,12 @@
    1.40  config ARCH_BE
    1.41      bool
    1.42      prompt "Big endian"
    1.43 +    depends on ARCH_SUPPORTS_BE
    1.44  
    1.45  config ARCH_LE
    1.46      bool
    1.47      prompt "Little endian"
    1.48 +    depends on ARCH_SUPPORTS_LE
    1.49  
    1.50  endchoice
    1.51