diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 06:50:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 06:50:14 +0000 |
commit | ea0f380daa8b7b6accd0c77395ef6a4da0187db8 (patch) | |
tree | 875c4e5041a6cd4968245169c5cb2f480cd0d51d /extra/Configs/Config.in.arch | |
parent | 25e6fcc89bbc181ade92b5d3e1c7ac90eb214039 (diff) |
simplify endian config/selection
Diffstat (limited to 'extra/Configs/Config.in.arch')
-rw-r--r-- | extra/Configs/Config.in.arch | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch index bce5a0b55..189b2f451 100644 --- a/extra/Configs/Config.in.arch +++ b/extra/Configs/Config.in.arch @@ -3,21 +3,33 @@ # see extra/config/Kconfig-language.txt # +config ARCH_ANY_ENDIAN + bool +config ARCH_BIG_ENDIAN + bool +config ARCH_LITTLE_ENDIAN + bool +if ARCH_ANY_ENDIAN choice prompt "Target Processor Endianness" help - This is the endianness you wish to build use. Choose either Big + This is the endianness you wish to use. Choose either Big Endian, or Little Endian. - -config ARCH_LITTLE_ENDIAN - bool "Little Endian" - depends on ARCH_SUPPORTS_LITTLE_ENDIAN - -config ARCH_BIG_ENDIAN +config ARCH_WANTS_BIG_ENDIAN bool "Big Endian" - depends on ARCH_SUPPORTS_BIG_ENDIAN - + select ARCH_BIG_ENDIAN +config ARCH_WANTS_LITTLE_ENDIAN + bool "Little Endian" + select ARCH_LITTLE_ENDIAN endchoice +endif +# if the arch only supports one endian, just display the setting +if !ARCH_ANY_ENDIAN && ARCH_LITTLE_ENDIAN +comment "Using Little Endian" +endif +if !ARCH_ANY_ENDIAN && ARCH_BIG_ENDIAN +comment "Using Big Endian" +endif config ARCH_HAS_NO_MMU bool "Target CPU does not have a memory management unit (MMU)" |