summaryrefslogtreecommitdiff
path: root/target
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
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')
-rw-r--r--target/aarch64/Config.in9
-rw-r--r--target/arm/Config.in9
-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
-rw-r--r--target/m68k/Config.in9
-rw-r--r--target/microblaze/Config.in9
-rw-r--r--target/mips/Config.in9
-rw-r--r--target/mips64/Config.in9
-rw-r--r--target/ppc/Config.in9
-rw-r--r--target/ppc64/Config.in9
-rw-r--r--target/sh/Config.in9
-rw-r--r--target/sparc/Config.in9
-rw-r--r--target/sparc64/Config.in9
-rw-r--r--target/x86/Config.in9
-rw-r--r--target/x86_64/Config.in9
18 files changed, 0 insertions, 278 deletions
diff --git a/target/aarch64/Config.in b/target/aarch64/Config.in
deleted file mode 100644
index 9e48de6b4..000000000
--- a/target/aarch64/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_AARCH64 && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_AARCH64
- boolean "Choose target system"
-
-source "target/aarch64/Config.in.systems"
-endchoice
diff --git a/target/arm/Config.in b/target/arm/Config.in
deleted file mode 100644
index bd1b5c297..000000000
--- a/target/arm/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_ARM && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_ARM
- boolean "Choose target system"
-
-source "target/arm/Config.in.systems"
-endchoice
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"
diff --git a/target/m68k/Config.in b/target/m68k/Config.in
deleted file mode 100644
index 96ace42c0..000000000
--- a/target/m68k/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_M68K && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_M68K
- boolean "Choose target system"
-
-source "target/m68k/Config.in.systems"
-endchoice
diff --git a/target/microblaze/Config.in b/target/microblaze/Config.in
deleted file mode 100644
index 582be7719..000000000
--- a/target/microblaze/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_MICROBLAZE && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_MICROBLAZE
- boolean "Choose target system"
-
-source "target/microblaze/Config.in.systems"
-endchoice
diff --git a/target/mips/Config.in b/target/mips/Config.in
deleted file mode 100644
index bbae13a6c..000000000
--- a/target/mips/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_MIPS && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_MIPS
- boolean "Choose target system"
-
-source "target/mips/Config.in.systems"
-endchoice
diff --git a/target/mips64/Config.in b/target/mips64/Config.in
deleted file mode 100644
index d890f6ff6..000000000
--- a/target/mips64/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_MIPS64 && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_MIPS64
- boolean "Choose target system"
-
-source "target/mips64/Config.in.systems"
-endchoice
diff --git a/target/ppc/Config.in b/target/ppc/Config.in
deleted file mode 100644
index 272621e9f..000000000
--- a/target/ppc/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_PPC && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_PPC
- boolean "Choose target system"
-
-source "target/ppc/Config.in.systems"
-endchoice
diff --git a/target/ppc64/Config.in b/target/ppc64/Config.in
deleted file mode 100644
index a262de1f4..000000000
--- a/target/ppc64/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_PPC64 && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_PPC64
- boolean "Choose target system"
-
-source "target/ppc64/Config.in.systems"
-endchoice
diff --git a/target/sh/Config.in b/target/sh/Config.in
deleted file mode 100644
index 4dfe7ba09..000000000
--- a/target/sh/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_SH && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_SH
- boolean "Choose target system"
-
-source "target/sh/Config.in.systems"
-endchoice
diff --git a/target/sparc/Config.in b/target/sparc/Config.in
deleted file mode 100644
index 38db872ef..000000000
--- a/target/sparc/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_SPARC && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_SPARC
- boolean "Choose target system"
-
-source "target/sparc/Config.in.systems"
-endchoice
diff --git a/target/sparc64/Config.in b/target/sparc64/Config.in
deleted file mode 100644
index 14981f0fc..000000000
--- a/target/sparc64/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_SPARC64 && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_SPARC64
- boolean "Choose target system"
-
-source "target/sparc64/Config.in.systems"
-endchoice
diff --git a/target/x86/Config.in b/target/x86/Config.in
deleted file mode 100644
index 037dfb42c..000000000
--- a/target/x86/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_X86 && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_X86
- boolean "Choose target system"
-
-source "target/x86/Config.in.systems"
-endchoice
diff --git a/target/x86_64/Config.in b/target/x86_64/Config.in
deleted file mode 100644
index eda6e949f..000000000
--- a/target/x86_64/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-choice
-depends on ADK_LINUX_X86_64 && !ADK_CHOOSE_TARGET_ARCH
-prompt "Target system"
-
-config ADK_CHOOSE_TARGET_SYSTEM_X86_64
- boolean "Choose target system"
-
-source "target/x86_64/Config.in.systems"
-endchoice