Browse Source

fix breakage from HAVE_ELF removal and standardize all the arch config files

Mike Frysinger 18 years ago
parent
commit
2304e36026

+ 10 - 2
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

+ 10 - 6
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

+ 13 - 2
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
 

+ 12 - 4
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

+ 10 - 2
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

+ 13 - 3
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

+ 6 - 2
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"

+ 12 - 4
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
 

+ 13 - 6
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

+ 10 - 2
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"

+ 8 - 0
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"

+ 9 - 1
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
 

+ 11 - 7
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

+ 13 - 1
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

+ 13 - 1
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

+ 9 - 1
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
 

+ 10 - 6
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

+ 10 - 6
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

+ 8 - 0
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
 

+ 10 - 2
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
 

+ 13 - 6
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