summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-02 17:12:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-02 17:13:35 +0200
commitc222886f38ea1185c1b420f03d1e1fb377506af0 (patch)
tree0ba5c36cb5d1ad37e8969dc96d47181234a175c0 /target/config
parent48758993b09a96f83c2bd190a5586421c90428e7 (diff)
simplify adding new arch
Generate all data needed when adding a new arch or system. Recognize any changes in target/*/systems as reported as bug by Joerg.
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.arch2
-rw-r--r--target/config/Config.in.arch.choice85
-rw-r--r--target/config/Config.in.arch.default59
-rw-r--r--target/config/Config.in.system2
-rw-r--r--target/config/Config.in.system.choice13
5 files changed, 0 insertions, 161 deletions
diff --git a/target/config/Config.in.arch b/target/config/Config.in.arch
deleted file mode 100644
index 83a4c07c7..000000000
--- a/target/config/Config.in.arch
+++ /dev/null
@@ -1,2 +0,0 @@
-source "target/config/Config.in.arch.default"
-source "target/config/Config.in.arch.choice"
diff --git a/target/config/Config.in.arch.choice b/target/config/Config.in.arch.choice
deleted file mode 100644
index 517d6a00f..000000000
--- a/target/config/Config.in.arch.choice
+++ /dev/null
@@ -1,85 +0,0 @@
-choice
-prompt "Target architecture"
-
-config ADK_CHOOSE_TARGET_ARCH
- bool "Choose target architecture"
-
-config ADK_LINUX_AARCH64
- bool "aarch64 system"
- select ADK_aarch64
- help
- Support for AARCH64 systems.
-
-config ADK_LINUX_ARM
- bool "arm system"
- select ADK_arm
- help
- Support for ARM systems.
-
-config ADK_LINUX_M68K
- bool "m68k system"
- select ADK_m68k
- help
- Support for m68k systems.
-
-config ADK_LINUX_MICROBLAZE
- bool "microblaze system"
- select ADK_microblaze
- help
- Support for Microblaze systems.
-
-config ADK_LINUX_MIPS
- bool "mips system"
- select ADK_mips
- help
- Support for MIPS systems.
-
-config ADK_LINUX_MIPS64
- bool "mips64 system"
- select ADK_mips64
- help
- Support for MIPS64 systems.
-
-config ADK_LINUX_PPC
- bool "ppc system"
- select ADK_ppc
- help
- Support for PPC systems.
-
-config ADK_LINUX_PPC64
- bool "ppc64 system"
- select ADK_ppc64
- help
- Support for PPC64 systems.
-
-config ADK_LINUX_SPARC
- bool "sparc system"
- select ADK_sparc
- help
- Support for SPARC systems.
-
-config ADK_LINUX_SPARC64
- bool "sparc64 system"
- select ADK_sparc64
- help
- Support for SPARC64 systems.
-
-config ADK_LINUX_SH
- bool "superh system"
- select ADK_sh
- help
- Support for superh systems.
-
-config ADK_LINUX_X86
- bool "x86 system"
- select ADK_x86
- help
- Support for x86 systems.
-
-config ADK_LINUX_X86_64
- bool "x86_64 system"
- select ADK_x86_64
- help
- Support for x86_64/amd64 systems.
-
-endchoice
diff --git a/target/config/Config.in.arch.default b/target/config/Config.in.arch.default
deleted file mode 100644
index 2b8abc7a1..000000000
--- a/target/config/Config.in.arch.default
+++ /dev/null
@@ -1,59 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-# target architectures
-config ADK_aarch64
- bool
-
-config ADK_arm
- bool
-
-config ADK_m68k
- bool
-
-config ADK_microblaze
- bool
-
-config ADK_mips
- bool
-
-config ADK_mips64
- bool
-
-config ADK_ppc
- bool
-
-config ADK_ppc64
- bool
-
-config ADK_sparc
- bool
-
-config ADK_sparc64
- bool
-
-config ADK_sh
- bool
-
-config ADK_x86_64
- bool
-
-config ADK_x86
- bool
-
-config ADK_TARGET_ARCH
- string
- default "aarch64" if ADK_aarch64
- default "arm" if ADK_arm
- default "m68k" if ADK_m68k
- default "microblaze" if ADK_microblaze
- default "mips" if ADK_mips
- default "mips64" if ADK_mips64
- default "ppc" if ADK_ppc
- default "ppc64" if ADK_ppc64
- default "sparc" if ADK_sparc
- default "sparc64" if ADK_sparc64
- default "sh" if ADK_sh
- default "x86" if ADK_x86
- default "x86_64" if ADK_x86_64
-
diff --git a/target/config/Config.in.system b/target/config/Config.in.system
deleted file mode 100644
index 670fcc4a3..000000000
--- a/target/config/Config.in.system
+++ /dev/null
@@ -1,2 +0,0 @@
-source "target/config/Config.in.system.default"
-source "target/config/Config.in.system.choice"
diff --git a/target/config/Config.in.system.choice b/target/config/Config.in.system.choice
deleted file mode 100644
index a95dd922b..000000000
--- a/target/config/Config.in.system.choice
+++ /dev/null
@@ -1,13 +0,0 @@
-source "target/aarch64/Config.in"
-source "target/arm/Config.in"
-source "target/m68k/Config.in"
-source "target/microblaze/Config.in"
-source "target/mips/Config.in"
-source "target/mips64/Config.in"
-source "target/ppc/Config.in"
-source "target/ppc64/Config.in"
-source "target/sparc/Config.in"
-source "target/sparc64/Config.in"
-source "target/sh/Config.in"
-source "target/x86/Config.in"
-source "target/x86_64/Config.in"