From 2304e360269b8e53e5ff7853358e5283e1e86061 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 19 Jan 2006 22:41:17 +0000 Subject: fix breakage from HAVE_ELF removal and standardize all the arch config files --- extra/Configs/Config.alpha | 12 ++++++++++-- extra/Configs/Config.arm | 16 ++++++++++------ extra/Configs/Config.bfin | 15 +++++++++++++-- extra/Configs/Config.cris | 16 ++++++++++++---- extra/Configs/Config.e1 | 12 ++++++++++-- extra/Configs/Config.frv | 16 +++++++++++++--- extra/Configs/Config.h8300 | 8 ++++++-- extra/Configs/Config.hppa | 16 ++++++++++++---- extra/Configs/Config.i386 | 19 +++++++++++++------ extra/Configs/Config.i960 | 12 ++++++++++-- extra/Configs/Config.m68k | 8 ++++++++ extra/Configs/Config.microblaze | 10 +++++++++- extra/Configs/Config.mips | 18 +++++++++++------- extra/Configs/Config.nios | 14 +++++++++++++- extra/Configs/Config.nios2 | 14 +++++++++++++- extra/Configs/Config.powerpc | 10 +++++++++- extra/Configs/Config.sh | 16 ++++++++++------ extra/Configs/Config.sh64 | 16 ++++++++++------ extra/Configs/Config.sparc | 8 ++++++++ extra/Configs/Config.v850 | 12 ++++++++++-- extra/Configs/Config.x86_64 | 19 +++++++++++++------ 21 files changed, 223 insertions(+), 64 deletions(-) (limited to 'extra') diff --git a/extra/Configs/Config.alpha b/extra/Configs/Config.alpha index 1b5768bb7..b67acaec1 100644 --- a/extra/Configs/Config.alpha +++ b/extra/Configs/Config.alpha @@ -3,15 +3,23 @@ # see extra/config/Kconfig-language.txt # +config TARGET_ARCH + default "alpha" + +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y -config TARGET_ARCH +config TARGET_ARCH_FEATURES + bool + default y select ARCH_HAS_MMU select ARCH_HAS_NO_LDSO select UCLIBC_HAS_LFS - default "alpha" config ARCH_CFLAGS string diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm index 62ebf73db..3b96238c1 100644 --- a/extra/Configs/Config.arm +++ b/extra/Configs/Config.arm @@ -6,12 +6,6 @@ config TARGET_ARCH default "arm" -config ARCH_CFLAGS - string - -config LIBGCC_CFLAGS - string - config ARCH_SUPPORTS_BIG_ENDIAN bool default y @@ -20,6 +14,16 @@ config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y +config TARGET_ARCH_FEATURES + bool + default y + +config ARCH_CFLAGS + string + +config LIBGCC_CFLAGS + string + choice prompt "Target Processor Type" default CONFIG_GENERIC_ARM diff --git a/extra/Configs/Config.bfin b/extra/Configs/Config.bfin index c65b5fa40..b92e233f2 100644 --- a/extra/Configs/Config.bfin +++ b/extra/Configs/Config.bfin @@ -4,10 +4,21 @@ # config TARGET_ARCH - select ARCH_HAS_NO_MMU - select ARCH_LITTLE_ENDIAN default "bfin" +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default y + +config TARGET_ARCH_FEATURES + bool + default y + select ARCH_HAS_NO_MMU + config ARCH_CFLAGS string diff --git a/extra/Configs/Config.cris b/extra/Configs/Config.cris index 07f2cbe77..8599cc273 100644 --- a/extra/Configs/Config.cris +++ b/extra/Configs/Config.cris @@ -6,16 +6,24 @@ config TARGET_ARCH default "cris" +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default y + +config TARGET_ARCH_FEATURES + bool + default y + config ARCH_CFLAGS string config LIBGCC_CFLAGS string -config ARCH_SUPPORTS_LITTLE_ENDIAN - bool - default y - choice prompt "Target Architecture Type" default CONFIG_CRIS diff --git a/extra/Configs/Config.e1 b/extra/Configs/Config.e1 index d134a0c83..919e46e78 100644 --- a/extra/Configs/Config.e1 +++ b/extra/Configs/Config.e1 @@ -3,14 +3,22 @@ # see extra/config/Kconfig-language.txt # +config TARGET_ARCH + default "e1" + config ARCH_SUPPORTS_BIG_ENDIAN bool default y -config TARGET_ARCH +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default n + +config TARGET_ARCH_FEATURES + bool + default y select ARCH_HAS_NO_MMU select HAVE_NO_SHARED - default "e1" config ARCH_E1 bool diff --git a/extra/Configs/Config.frv b/extra/Configs/Config.frv index f9ee6ab67..014e90bfb 100644 --- a/extra/Configs/Config.frv +++ b/extra/Configs/Config.frv @@ -4,11 +4,21 @@ # config TARGET_ARCH + default "frv" + +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default y + +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default n + +config TARGET_ARCH_FEATURES + bool + default y select UCLIBC_HAS_FPU - select ARCH_BIG_ENDIAN select ARCH_HAS_NO_MMU - string - default "frv" config ARCH_CFLAGS string diff --git a/extra/Configs/Config.h8300 b/extra/Configs/Config.h8300 index c9b74d87e..f9f82a8a3 100644 --- a/extra/Configs/Config.h8300 +++ b/extra/Configs/Config.h8300 @@ -3,6 +3,9 @@ # see extra/config/Kconfig-language.txt # +config TARGET_ARCH + default "h8300" + config ARCH_SUPPORTS_BIG_ENDIAN bool default y @@ -11,9 +14,10 @@ config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y -config TARGET_ARCH +config TARGET_ARCH_FEATURES + bool + default y select ARCH_HAS_NO_MMU - default "h8300" choice prompt "Target Processor" diff --git a/extra/Configs/Config.hppa b/extra/Configs/Config.hppa index 2d91b613f..21e454ff1 100644 --- a/extra/Configs/Config.hppa +++ b/extra/Configs/Config.hppa @@ -4,16 +4,24 @@ # config TARGET_ARCH - select ARCH_HAS_MMU - select HAS_NO_THREADS - select ARCH_HAS_NO_LDSO - select HAVE_NO_SSP default "hppa" config ARCH_SUPPORTS_BIG_ENDIAN bool default y +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default n + +config TARGET_ARCH_FEATURES + bool + default y + select ARCH_HAS_MMU + select HAS_NO_THREADS + select ARCH_HAS_NO_LDSO + select HAVE_NO_SSP + config ARCH_CFLAGS string diff --git a/extra/Configs/Config.i386 b/extra/Configs/Config.i386 index 7fbce37f5..b95a82048 100644 --- a/extra/Configs/Config.i386 +++ b/extra/Configs/Config.i386 @@ -4,20 +4,27 @@ # config TARGET_ARCH - select ARCH_HAS_MMU - string default "i386" +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default y + +config TARGET_ARCH_FEATURES + bool + default y + select ARCH_HAS_MMU + config ARCH_CFLAGS string config LIBGCC_CFLAGS string -config ARCH_SUPPORTS_LITTLE_ENDIAN - bool - default y - choice prompt "Target x86 Processor Family" default CONFIG_GENERIC_386 diff --git a/extra/Configs/Config.i960 b/extra/Configs/Config.i960 index 17eb6a2cc..4f59778c9 100644 --- a/extra/Configs/Config.i960 +++ b/extra/Configs/Config.i960 @@ -4,14 +4,22 @@ # config TARGET_ARCH - select ARCH_HAS_NO_MMU - select HAS_NO_THREADS default "i960" +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y +config TARGET_ARCH_FEATURES + bool + default y + select ARCH_HAS_NO_MMU + select HAS_NO_THREADS + config ARCH_CFLAGS string default "-mh -mint32 -fsigned-char" diff --git a/extra/Configs/Config.m68k b/extra/Configs/Config.m68k index abb9335cc..bd8c46167 100644 --- a/extra/Configs/Config.m68k +++ b/extra/Configs/Config.m68k @@ -10,6 +10,14 @@ config ARCH_SUPPORTS_BIG_ENDIAN bool default y +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default n + +config TARGET_ARCH_FEATURES + bool + default y + config ARCH_CFLAGS string default "-Wa,--bitwise-or" diff --git a/extra/Configs/Config.microblaze b/extra/Configs/Config.microblaze index c4fe727b6..b7138bd9c 100644 --- a/extra/Configs/Config.microblaze +++ b/extra/Configs/Config.microblaze @@ -4,13 +4,21 @@ # config TARGET_ARCH - select ARCH_HAS_NO_MMU default "microblaze" config ARCH_SUPPORTS_BIG_ENDIAN bool default y +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default n + +config TARGET_ARCH_FEATURES + bool + default y + select ARCH_HAS_NO_MMU + config ARCH_CFLAGS string diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips index bc14230b9..6a73bc654 100644 --- a/extra/Configs/Config.mips +++ b/extra/Configs/Config.mips @@ -6,13 +6,6 @@ config TARGET_ARCH default "mips" -config ARCH_CFLAGS - string - default "-mno-split-addresses" - -config LIBGCC_CFLAGS - string - config ARCH_SUPPORTS_BIG_ENDIAN bool default y @@ -21,6 +14,17 @@ config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y +config TARGET_ARCH_FEATURES + bool + default y + +config ARCH_CFLAGS + string + default "-mno-split-addresses" + +config LIBGCC_CFLAGS + string + choice prompt "Target Processor Architecture" default CONFIG_MIPS_ISA_1 diff --git a/extra/Configs/Config.nios b/extra/Configs/Config.nios index ed862951d..1de253a5c 100644 --- a/extra/Configs/Config.nios +++ b/extra/Configs/Config.nios @@ -4,10 +4,22 @@ # config TARGET_ARCH + default "nios" + +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default y + +config TARGET_ARCH_FEATURES + bool + default y select ARCH_HAS_NO_MMU select ARCH_LITTLE_ENDIAN select HAVE_NO_PIC - default "nios" config ARCH_CFLAGS string diff --git a/extra/Configs/Config.nios2 b/extra/Configs/Config.nios2 index 1a98e413b..9c540507a 100644 --- a/extra/Configs/Config.nios2 +++ b/extra/Configs/Config.nios2 @@ -4,10 +4,22 @@ # config TARGET_ARCH + default "nios2" + +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default y + +config TARGET_ARCH_FEATURES + bool + default y select ARCH_HAS_NO_MMU select ARCH_LITTLE_ENDIAN select HAVE_NO_PIC - default "nios2" config ARCH_CFLAGS string diff --git a/extra/Configs/Config.powerpc b/extra/Configs/Config.powerpc index 7129f0012..910250436 100644 --- a/extra/Configs/Config.powerpc +++ b/extra/Configs/Config.powerpc @@ -4,13 +4,21 @@ # config TARGET_ARCH - select ARCH_HAS_MMU default "powerpc" config ARCH_SUPPORTS_BIG_ENDIAN bool default y +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default n + +config TARGET_ARCH_FEATURES + bool + default y + select ARCH_HAS_MMU + config ARCH_CFLAGS string diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh index 2443e02f0..1f67560bc 100644 --- a/extra/Configs/Config.sh +++ b/extra/Configs/Config.sh @@ -6,12 +6,6 @@ config TARGET_ARCH default "sh" -config ARCH_CFLAGS - string - -config LIBGCC_CFLAGS - string - config ARCH_SUPPORTS_BIG_ENDIAN bool default y @@ -20,6 +14,16 @@ config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y +config TARGET_ARCH_FEATURES + bool + default y + +config ARCH_CFLAGS + string + +config LIBGCC_CFLAGS + string + choice prompt "Target Processor Type" default CONFIG_SH4 diff --git a/extra/Configs/Config.sh64 b/extra/Configs/Config.sh64 index 7bdbe5685..3a792939f 100644 --- a/extra/Configs/Config.sh64 +++ b/extra/Configs/Config.sh64 @@ -6,12 +6,6 @@ config TARGET_ARCH default "sh64" -config ARCH_CFLAGS - string - -config LIBGCC_CFLAGS - string - config ARCH_SUPPORTS_BIG_ENDIAN bool default y @@ -20,6 +14,16 @@ config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y +config TARGET_ARCH_FEATURES + bool + default y + +config ARCH_CFLAGS + string + +config LIBGCC_CFLAGS + string + choice prompt "Target Processor Type" default CONFIG_SH5 diff --git a/extra/Configs/Config.sparc b/extra/Configs/Config.sparc index e5319e9e9..a099b359b 100644 --- a/extra/Configs/Config.sparc +++ b/extra/Configs/Config.sparc @@ -10,6 +10,14 @@ config ARCH_SUPPORTS_BIG_ENDIAN bool default y +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default n + +config TARGET_ARCH_FEATURES + bool + default y + config ARCH_CFLAGS string diff --git a/extra/Configs/Config.v850 b/extra/Configs/Config.v850 index 93755878e..78a454694 100644 --- a/extra/Configs/Config.v850 +++ b/extra/Configs/Config.v850 @@ -4,14 +4,22 @@ # config TARGET_ARCH - select ARCH_HAS_NO_MMU - select HAVE_NO_PIC default "v850" +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + config ARCH_SUPPORTS_LITTLE_ENDIAN bool default y +config TARGET_ARCH_FEATURES + bool + default y + select ARCH_HAS_NO_MMU + select HAVE_NO_PIC + config ARCH_CFLAGS string diff --git a/extra/Configs/Config.x86_64 b/extra/Configs/Config.x86_64 index 847fed69f..d187d059d 100644 --- a/extra/Configs/Config.x86_64 +++ b/extra/Configs/Config.x86_64 @@ -4,17 +4,24 @@ # config TARGET_ARCH + default "x86_64" + +config ARCH_SUPPORTS_BIG_ENDIAN + bool + default n + +config ARCH_SUPPORTS_LITTLE_ENDIAN + bool + default y + +config TARGET_ARCH_FEATURES + bool + default y select ARCH_HAS_MMU select UCLIBC_HAS_LFS - string - default "x86_64" config ARCH_CFLAGS string config LIBGCC_CFLAGS string - -config ARCH_SUPPORTS_LITTLE_ENDIAN - bool - default y -- cgit v1.2.3