Explorar o código

add missing CPU symbols, sort by alphabetical order

Waldemar Brodkorb %!s(int64=9) %!d(string=hai) anos
pai
achega
c1243518dc

+ 1 - 0
target/aarch64/systems/qemu-aarch64

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_QEMU_AARCH64
 	select ADK_qemu_aarch64
 	select ADK_little
 	select ADK_LINUX_64
+	select ADK_CPU_ARMV8
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_IMAGE
 	help

+ 0 - 1
target/aarch64/systems/toolchain-aarch64

@@ -3,7 +3,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_AARCH64
 	select ADK_aarch64
 	select ADK_toolchain_aarch64
 	select ADK_little
-	select ADK_fpu_vfp
 	select ADK_CPU_ARMV8
 	select ADK_LINUX_64
 	select ADK_TARGET_TOOLCHAIN

+ 1 - 0
target/alpha/systems/qemu-alpha

@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_QEMU_ALPHA
 	select ADK_qemu_alpha
 	select ADK_TARGET_QEMU
 	select ADK_LINUX_64
+	select ADK_LINUX_ALPHA
 	help
 	 Support for Qemu Emulator ALPHA architecture.
 

+ 1 - 0
target/alpha/systems/toolchain-alpha

@@ -5,6 +5,7 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_ALPHA
 	select ADK_TARGET_TOOLCHAIN
 	select ADK_TARGET_PACKAGE_TXZ
 	select ADK_LINUX_64
+	select ADK_LINUX_ALPHA
 	help
 	  ALPHA toolchain.
 

+ 1 - 0
target/arm/systems/linksys-nslu2

@@ -3,6 +3,7 @@ config ADK_TARGET_SYSTEM_LINKSYS_NSLU2
 	select ADK_arm
 	select ADK_big
 	select ADK_linksys_nslu2
+	select ADK_CPU_XSCALE
 	select ADK_TARGET_WITH_USB
 	select ADK_TARGET_WITH_SERIAL
 	select ADK_TARGET_KERNEL_ZIMAGE

+ 111 - 79
target/config/Config.in.cpu

@@ -1,114 +1,143 @@
 # This file is part of the OpenADK project. OpenADK is copyrighted
 # material, please see the LICENCE file in the top-level directory.
 
-config ADK_TARGET_CPU_WITH_FPU
+# CPU
+config ADK_CPU_ALPHA
 	bool
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_FPU_VFP
+config ADK_CPU_AMDFAM10
 	bool
-	select ADK_fpu_vfp
+	select ADK_TARGET_CPU_WITH_VT
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_FPU_VFP3
+config ADK_CPU_ARC
 	bool
-	select ADK_fpu_vfp3
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_FPU_VFP4
+config ADK_CPU_ARM1176JZF_S
 	bool
-	select ADK_fpu_vfp4
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_FPU_NEON
+config ADK_CPU_ARM926EJ_S
 	bool
-	select ADK_fpu_neon
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_VT
+config ADK_CPU_ARMV8
 	bool
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_MTRR
+config ADK_CPU_ATHLON
 	bool
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_MMX
+config ADK_CPU_ATOM
 	bool
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_MMXEXT
+config ADK_CPU_AVR32
 	bool
+	select ADK_TARGET_WITH_LT
 
-config ADK_TARGET_CPU_WITH_SSE
+config ADK_CPU_BFIN
 	bool
+	select ADK_TARGET_WITH_LT
 
-config ADK_TARGET_CPU_WITH_SSE2
+config ADK_CPU_C6X
 	bool
+	select ADK_TARGET_WITH_LT
 
-config ADK_TARGET_CPU_WITH_SSE3
+config ADK_CPU_CF_5208
 	bool
+	select ADK_TARGET_WITH_LT
 
-config ADK_TARGET_CPU_WITH_SSSE3
+config ADK_CPU_CORTEX_M3
 	bool
+	select ADK_TARGET_WITH_LT
 
-config ADK_TARGET_CPU_WITH_IWMMXT
+config ADK_CPU_CORTEX_M4
 	bool
+	select ADK_TARGET_WITH_LT
 
-config ADK_TARGET_CPU_WITH_HT
+config ADK_CPU_CORTEX_A7
 	bool
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_3DNOW
+config ADK_CPU_CORTEX_A9
 	bool
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_TARGET_CPU_WITH_3DNOWEXT
+config ADK_CPU_CRIS_V10
 	bool
+	select ADK_TARGET_WITH_LT
 
-config ADK_CPU_ATHLON
+config ADK_CPU_CRIS_V32
 	bool
-	select ADK_TARGET_WITH_NPTL
-	select ADK_TARGET_WITH_MMU
+	select ADK_TARGET_WITH_LT
 
-config ADK_CPU_ARC
+config ADK_CPU_GEODE
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_TILE
+config ADK_CPU_LOONGSON2F
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_C6X
+config ADK_CPU_M68K
 	bool
-	select ADK_TARGET_WITH_LT
+	select ADK_TARGET_WITH_LT if ADK_LINUX_UCLINUX
+	select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
+	select ADK_TARGET_WITH_NPTL
 
-config ADK_CPU_CRIS_V10
+config ADK_CPU_MIPS32
 	bool
-	select ADK_TARGET_WITH_LT
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_CRIS_V32
+config ADK_CPU_MIPS32R2
 	bool
-	select ADK_TARGET_WITH_LT
+	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_SH4
+config ADK_CPU_MIPS64
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_SPARC_V8
+config ADK_CPU_MIPS64R2
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_SPARC_V9
+config ADK_CPU_MICROBLAZE
 	bool
+	select ADK_TARGET_WITH_LT if ADK_TARGET_LIBC_UCLIBC_NG
+	select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
 	select ADK_TARGET_WITH_NPTL
-	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_X86
+config ADK_CPU_NIOS2
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_X86_64
+config ADK_CPU_PARISC
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_GEODE
+config ADK_CPU_PENTIUM_M
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
@@ -128,98 +157,101 @@ config ADK_CPU_PPC64
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_PENTIUM_M
+config ADK_CPU_SH4
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_AMDFAM10
+config ADK_CPU_SPARC_V8
 	bool
-	select ADK_TARGET_CPU_WITH_VT
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_LOONGSON2F
+config ADK_CPU_SPARC_V9
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_XSCALE
+config ADK_CPU_TILE
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_M68K
+config ADK_CPU_X86
 	bool
-	select ADK_TARGET_WITH_LT if ADK_LINUX_UCLINUX
-	select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
 	select ADK_TARGET_WITH_NPTL
+	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_MIPS32
+config ADK_CPU_X86_64
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_MIPS32R2
+config ADK_CPU_XSCALE
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_MIPS64
+config ADK_CPU_XTENSA
 	bool
 	select ADK_TARGET_WITH_NPTL
 	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_MICROBLAZE
+# CPU features
+config ADK_TARGET_CPU_WITH_FPU
 	bool
-	select ADK_TARGET_WITH_LT if ADK_TARGET_LIBC_UCLIBC_NG
-	select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
-	select ADK_TARGET_WITH_NPTL
 
-config ADK_CPU_ARM926EJ_S
+config ADK_TARGET_CPU_WITH_FPU_VFP
 	bool
-	select ADK_TARGET_WITH_NPTL
-	select ADK_TARGET_WITH_MMU
+	select ADK_fpu_vfp
 
-config ADK_CPU_ARM1176JZF_S
+config ADK_TARGET_CPU_WITH_FPU_VFP3
 	bool
-	select ADK_TARGET_WITH_NPTL
-	select ADK_TARGET_WITH_MMU
+	select ADK_fpu_vfp3
 
-config ADK_CPU_CORTEX_M3
+config ADK_TARGET_CPU_WITH_FPU_VFP4
 	bool
-	select ADK_TARGET_WITH_LT
+	select ADK_fpu_vfp4
 
-config ADK_CPU_CORTEX_M4
+config ADK_TARGET_CPU_WITH_FPU_NEON
 	bool
-	select ADK_TARGET_WITH_LT
+	select ADK_fpu_neon
 
-config ADK_CPU_CORTEX_A7
+config ADK_TARGET_CPU_WITH_VT
 	bool
-	select ADK_TARGET_WITH_NPTL
-	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_CORTEX_A9
+config ADK_TARGET_CPU_WITH_MTRR
 	bool
-	select ADK_TARGET_WITH_NPTL
-	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_ARMV8
+config ADK_TARGET_CPU_WITH_MMX
 	bool
-	select ADK_TARGET_WITH_NPTL
-	select ADK_TARGET_WITH_MMU
 
-config ADK_CPU_CF_5208
+config ADK_TARGET_CPU_WITH_MMXEXT
 	bool
-	select ADK_TARGET_WITH_LT
 
-config ADK_CPU_BFIN
+config ADK_TARGET_CPU_WITH_SSE
 	bool
-	select ADK_TARGET_WITH_LT
 
-config ADK_CPU_AVR32
+config ADK_TARGET_CPU_WITH_SSE2
+	bool
+
+config ADK_TARGET_CPU_WITH_SSE3
+	bool
+
+config ADK_TARGET_CPU_WITH_SSSE3
+	bool
+
+config ADK_TARGET_CPU_WITH_IWMMXT
+	bool
+
+config ADK_TARGET_CPU_WITH_HT
+	bool
+
+config ADK_TARGET_CPU_WITH_3DNOW
+	bool
+
+config ADK_TARGET_CPU_WITH_3DNOWEXT
 	bool
-	select ADK_TARGET_WITH_LT
 
 config ADK_TARGET_CPU_ARCH
 	string

+ 1 - 0
target/hppa/systems/toolchain-hppa

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_HPPA
 	bool "Toolchain only"
 	select ADK_hppa
 	select ADK_toolchain_hppa
+	select ADK_CPU_PARISC
 	select ADK_TARGET_TOOLCHAIN
 	select ADK_TARGET_PACKAGE_TXZ
 	help

+ 1 - 0
target/m68k/systems/aranym-m68k

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_ARANYM_M68K
 	bool "ARAnyM Emulator"
 	select ADK_m68k
 	select ADK_aranym_m68k
+	select ADK_CPU_M68K
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_INPUT
 	select ADK_TARGET_WITH_HDD

+ 1 - 0
target/nios2/systems/toolchain-nios2

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_NIOS2
 	bool "Toolchain only"
 	select ADK_nios2
 	select ADK_toolchain_nios2
+	select ADK_CPU_NIOS2
 	select ADK_TARGET_TOOLCHAIN
 	select ADK_TARGET_PACKAGE_TXZ
 	help

+ 1 - 0
target/xtensa/systems/qemu-xtensa

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_XTENSA
 	bool "Qemu Emulator"
 	select ADK_xtensa
 	select ADK_qemu_xtensa
+	select ADK_CPU_XTENSA
 	select ADK_TARGET_QEMU
 	select ADK_TARGET_KERNEL_ZIMAGE
 	select ADK_HOST_BUILD_U_BOOT

+ 1 - 0
target/xtensa/systems/toolchain-xtensa

@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_XTENSA
 	bool "Toolchain only"
 	select ADK_xtensa
 	select ADK_toolchain_xtensa
+	select ADK_CPU_XTENSA
 	select ADK_TARGET_TOOLCHAIN
 	select ADK_TARGET_PACKAGE_TXZ
 	help