summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-03 06:38:16 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-03 06:38:16 +0100
commit1b8b4b1839bb012877b8e98cc8932b4cf0349440 (patch)
tree997ad72134f2bf1dee6d638c3798a648f6d09734 /target/config
parent6ec63e7445fec93fba027a70083b16cd470e5a95 (diff)
convert to upper case symbols, remove lower case ADK_big/ADK_little
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu26
-rw-r--r--target/config/Config.in.endian.choice6
-rw-r--r--target/config/Config.in.endian.default14
3 files changed, 19 insertions, 27 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 748f72b96..59e994055 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -322,12 +322,12 @@ config ADK_TARGET_CPU_FLAGS
config ADK_TARGET_CPU_ARCH
string
- default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_little
+ default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_LITTLE_ENDIAN
default "alpha" if ADK_TARGET_ARCH_ALPHA
- default "arm" if ADK_TARGET_ARCH_ARM && ADK_little
- default "armeb" if ADK_TARGET_ARCH_ARM && ADK_big
- default "arc" if ADK_TARGET_ARCH_ARC && ADK_little
- default "arceb" if ADK_TARGET_ARCH_ARC && ADK_big
+ default "arm" if ADK_TARGET_ARCH_ARM && ADK_TARGET_LITTLE_ENDIAN
+ default "armeb" if ADK_TARGET_ARCH_ARM && ADK_TARGET_BIG_ENDIAN
+ default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN
+ default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN
default "avr32" if ADK_CPU_AVR32
default "bfin" if ADK_CPU_BFIN
default "c6x" if ADK_CPU_C6X
@@ -342,18 +342,18 @@ config ADK_TARGET_CPU_ARCH
default "i686" if ADK_CPU_ATHLON
default "hppa" if ADK_TARGET_ARCH_HPPA
default "m68k" if ADK_TARGET_ARCH_M68K
- default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_big
- default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_little
- default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_big
- default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_little
- default "mips" if ADK_TARGET_ARCH_MIPS && ADK_big
- default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_little
+ default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
+ default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_LITTLE_ENDIAN
+ default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_BIG_ENDIAN
+ default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
+ default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
+ default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
default "nios2" if ADK_TARGET_ARCH_NIOS2
default "ppc" if ADK_CPU_PPC
default "ppc" if ADK_CPU_PPC_440
default "ppc64" if ADK_CPU_PPC64
- default "sh4" if ADK_TARGET_ARCH_SH && ADK_little
- default "sh4eb" if ADK_TARGET_ARCH_SH && ADK_big
+ default "sh4" if ADK_TARGET_ARCH_SH && ADK_TARGET_LITTLE_ENDIAN
+ default "sh4eb" if ADK_TARGET_ARCH_SH && ADK_TARGET_BIG_ENDIAN
default "sparc" if ADK_TARGET_ARCH_SPARC
default "sparc64" if ADK_TARGET_ARCH_SPARC64
default "tilegx" if ADK_CPU_TILE
diff --git a/target/config/Config.in.endian.choice b/target/config/Config.in.endian.choice
index a4249f85a..0017a0e55 100644
--- a/target/config/Config.in.endian.choice
+++ b/target/config/Config.in.endian.choice
@@ -15,11 +15,9 @@ depends on !ADK_TARGET_SYSTEM_QEMU_ARM
depends on !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
config ADK_TARGET_LITTLE_ENDIAN
- boolean "Little endian"
- select ADK_little
+ bool "Little endian"
config ADK_TARGET_BIG_ENDIAN
- boolean "Big endian"
- select ADK_big
+ bool "Big endian"
endchoice
diff --git a/target/config/Config.in.endian.default b/target/config/Config.in.endian.default
index 6599016eb..2ed3be897 100644
--- a/target/config/Config.in.endian.default
+++ b/target/config/Config.in.endian.default
@@ -1,18 +1,12 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-config ADK_big
- boolean
-
-config ADK_little
- boolean
-
config ADK_TARGET_ENDIAN
string
- default "little" if ADK_little
- default "big" if ADK_big
+ default "little" if ADK_TARGET_LITTLE_ENDIAN
+ default "big" if ADK_TARGET_BIG_ENDIAN
config ADK_JFFS2_OPTS
string
- default "-l" if ADK_little
- default "-b" if ADK_big
+ default "-l" if ADK_TARGET_LITTLE_ENDIAN
+ default "-b" if ADK_TARGET_BIG_ENDIAN