summaryrefslogtreecommitdiff
path: root/target/aarch64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-05 12:51:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-07 06:42:57 +0100
commitc384dc577bd32f3315bacb410fc31610b41f742c (patch)
tree903aaed00f4b82d5e1eada2bd4fea8a7f3387ded /target/aarch64
parent68d4e79f35039b31ae835e82241a567b0ad66aa8 (diff)
rework menu based config system
After the addition of bare metal toolchains the menu system allowed to create non-valid configurations. I reworked it so we can also add other operating system support if we wish. So first you choose your operating system, then your architecture and endianess, after that your embedded system, emulator or generic device and then you choose your task you want to run. Tasks may be toolchain, a new appliance/application or some preconfigured sets of packages and configurations as kodi, mpd, firefox and more. The tasks are limited to a plausible choice of hardware and software. Deduplicate CPU configuration. You don't wanna compile Kodi for a H8/300 microcontroller ;)
Diffstat (limited to 'target/aarch64')
-rw-r--r--target/aarch64/kernel/generic-aarch641
-rw-r--r--target/aarch64/systems/arm-fm4
-rw-r--r--target/aarch64/systems/qemu-aarch644
-rw-r--r--target/aarch64/systems/toolchain-aarch649
4 files changed, 5 insertions, 13 deletions
diff --git a/target/aarch64/kernel/generic-aarch64 b/target/aarch64/kernel/generic-aarch64
new file mode 100644
index 000000000..e40393f9a
--- /dev/null
+++ b/target/aarch64/kernel/generic-aarch64
@@ -0,0 +1 @@
+CONFIG_ARM64=y
diff --git a/target/aarch64/systems/arm-fm b/target/aarch64/systems/arm-fm
index fea3ada10..d76fbc1cf 100644
--- a/target/aarch64/systems/arm-fm
+++ b/target/aarch64/systems/arm-fm
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_ARM_FM
bool "ARMv8 Foundation Model"
- select ADK_CPU_CORTEX_A57
- select ADK_TARGET_LITTLE_ENDIAN
+ depends on ADK_TARGET_LITTLE_ENDIAN
+ select ADK_TARGET_CPU_ARM_CORTEX_A57
select ADK_TARGET_KERNEL_IMAGE
select ADK_TARGET_KERNEL_WITH_COMPRESSION
select ADK_PACKAGE_BOOT_WRAPPER_AARCH64
diff --git a/target/aarch64/systems/qemu-aarch64 b/target/aarch64/systems/qemu-aarch64
index e649aad11..daf8a359b 100644
--- a/target/aarch64/systems/qemu-aarch64
+++ b/target/aarch64/systems/qemu-aarch64
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_QEMU_AARCH64
bool "Qemu Emulator"
- select ADK_CPU_CORTEX_A57
- select ADK_TARGET_LITTLE_ENDIAN
+ depends on ADK_TARGET_LITTLE_ENDIAN
+ select ADK_TARGET_CPU_ARM_CORTEX_A57
select ADK_TARGET_QEMU
select ADK_TARGET_KERNEL_IMAGE
select ADK_TARGET_KERNEL_WITH_COMPRESSION
diff --git a/target/aarch64/systems/toolchain-aarch64 b/target/aarch64/systems/toolchain-aarch64
deleted file mode 100644
index 8f490dd5a..000000000
--- a/target/aarch64/systems/toolchain-aarch64
+++ /dev/null
@@ -1,9 +0,0 @@
-config ADK_TARGET_SYSTEM_TOOLCHAIN_AARCH64
- bool "Toolchain only"
- select ADK_CPU_CORTEX_A57
- select ADK_TARGET_LITTLE_ENDIAN
- select ADK_TARGET_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TXZ
- help
- AARCH64 toolchain.
-