summaryrefslogtreecommitdiff
path: root/target/ppc
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/ppc
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/ppc')
-rw-r--r--target/ppc/kernel/generic-ppc2
-rw-r--r--target/ppc/systems/mac-mini2
-rw-r--r--target/ppc/systems/qemu-ppc-bamboo2
-rw-r--r--target/ppc/systems/qemu-ppc-macppc2
-rw-r--r--target/ppc/systems/toolchain-ppc8
5 files changed, 5 insertions, 11 deletions
diff --git a/target/ppc/kernel/generic-ppc b/target/ppc/kernel/generic-ppc
new file mode 100644
index 000000000..e22a7ab12
--- /dev/null
+++ b/target/ppc/kernel/generic-ppc
@@ -0,0 +1,2 @@
+CONFIG_PPC=y
+CONFIG_PPC32=y
diff --git a/target/ppc/systems/mac-mini b/target/ppc/systems/mac-mini
index ec7a60fa5..be327872c 100644
--- a/target/ppc/systems/mac-mini
+++ b/target/ppc/systems/mac-mini
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_APPLE_MACMINI
bool "Apple Mac mini"
depends on ADK_EXPERIMENTAL
- select ADK_CPU_PPC
+ select ADK_TARGET_CPU_PPC
select ADK_TARGET_WITH_PCI
select ADK_TARGET_WITH_NET
select ADK_TARGET_WITH_NETDEVICE
diff --git a/target/ppc/systems/qemu-ppc-bamboo b/target/ppc/systems/qemu-ppc-bamboo
index 0766495a1..b0d220a96 100644
--- a/target/ppc/systems/qemu-ppc-bamboo
+++ b/target/ppc/systems/qemu-ppc-bamboo
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
bool "Qemu Emulator (Bamboo)"
select ADK_TARGET_QEMU
- select ADK_CPU_PPC_440
+ select ADK_TARGET_CPU_PPC_440
select ADK_TARGET_SOFT_FLOAT
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
diff --git a/target/ppc/systems/qemu-ppc-macppc b/target/ppc/systems/qemu-ppc-macppc
index bd23c8f55..9afe1da56 100644
--- a/target/ppc/systems/qemu-ppc-macppc
+++ b/target/ppc/systems/qemu-ppc-macppc
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
bool "Qemu Emulator (MAC-PPC)"
select ADK_TARGET_QEMU
- select ADK_CPU_PPC
+ select ADK_TARGET_CPU_PPC
select ADK_TARGET_CPU_WITH_FPU
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
diff --git a/target/ppc/systems/toolchain-ppc b/target/ppc/systems/toolchain-ppc
deleted file mode 100644
index 029fe42b1..000000000
--- a/target/ppc/systems/toolchain-ppc
+++ /dev/null
@@ -1,8 +0,0 @@
-config ADK_TARGET_SYSTEM_TOOLCHAIN_PPC
- bool "Toolchain only"
- select ADK_CPU_PPC
- select ADK_TARGET_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TXZ
- help
- PPC toolchain.
-