summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/aarch64/systems/qemu-aarch641
-rw-r--r--target/aarch64/systems/toolchain-aarch641
-rw-r--r--target/alpha/systems/qemu-alpha1
-rw-r--r--target/alpha/systems/toolchain-alpha1
-rw-r--r--target/arm/systems/linksys-nslu21
-rw-r--r--target/config/Config.in.cpu190
-rw-r--r--target/hppa/systems/toolchain-hppa1
-rw-r--r--target/m68k/systems/aranym-m68k1
-rw-r--r--target/nios2/systems/toolchain-nios21
-rw-r--r--target/xtensa/systems/qemu-xtensa1
-rw-r--r--target/xtensa/systems/toolchain-xtensa1
11 files changed, 120 insertions, 80 deletions
diff --git a/target/aarch64/systems/qemu-aarch64 b/target/aarch64/systems/qemu-aarch64
index fc41d30d9..24dcda643 100644
--- a/target/aarch64/systems/qemu-aarch64
+++ b/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
diff --git a/target/aarch64/systems/toolchain-aarch64 b/target/aarch64/systems/toolchain-aarch64
index 96e4b7635..08877370f 100644
--- a/target/aarch64/systems/toolchain-aarch64
+++ b/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
diff --git a/target/alpha/systems/qemu-alpha b/target/alpha/systems/qemu-alpha
index aa75133f2..8a344b895 100644
--- a/target/alpha/systems/qemu-alpha
+++ b/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.
diff --git a/target/alpha/systems/toolchain-alpha b/target/alpha/systems/toolchain-alpha
index 0054fe745..7be969dbd 100644
--- a/target/alpha/systems/toolchain-alpha
+++ b/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.
diff --git a/target/arm/systems/linksys-nslu2 b/target/arm/systems/linksys-nslu2
index bd780f516..152855995 100644
--- a/target/arm/systems/linksys-nslu2
+++ b/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
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 5caa711bd..fccb7da51 100644
--- a/target/config/Config.in.cpu
+++ b/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
diff --git a/target/hppa/systems/toolchain-hppa b/target/hppa/systems/toolchain-hppa
index 5eebfa44f..bc3c39aca 100644
--- a/target/hppa/systems/toolchain-hppa
+++ b/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
diff --git a/target/m68k/systems/aranym-m68k b/target/m68k/systems/aranym-m68k
index 29e8810a5..3a5099564 100644
--- a/target/m68k/systems/aranym-m68k
+++ b/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
diff --git a/target/nios2/systems/toolchain-nios2 b/target/nios2/systems/toolchain-nios2
index 750cf1edf..5b7009113 100644
--- a/target/nios2/systems/toolchain-nios2
+++ b/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
diff --git a/target/xtensa/systems/qemu-xtensa b/target/xtensa/systems/qemu-xtensa
index 0aa01576b..d79702af7 100644
--- a/target/xtensa/systems/qemu-xtensa
+++ b/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
diff --git a/target/xtensa/systems/toolchain-xtensa b/target/xtensa/systems/toolchain-xtensa
index 725e5d23f..afca5b32b 100644
--- a/target/xtensa/systems/toolchain-xtensa
+++ b/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