summaryrefslogtreecommitdiff
path: root/target/config/Config.in.systemopts
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/config/Config.in.systemopts
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/config/Config.in.systemopts')
-rw-r--r--target/config/Config.in.systemopts38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/config/Config.in.systemopts b/target/config/Config.in.systemopts
new file mode 100644
index 000000000..e0b77042d
--- /dev/null
+++ b/target/config/Config.in.systemopts
@@ -0,0 +1,38 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+choice
+prompt "GPU memory size"
+depends on ADK_TARGET_BOARD_BCM28XX
+default ADK_TARGET_GPU_MEM_256 if ADK_PACKAGE_KODI
+
+config ADK_TARGET_GPU_MEM_16
+ bool "16"
+ help
+ use minimal 16 MB.
+
+config ADK_TARGET_GPU_MEM_64
+ bool "64"
+ help
+ use 64 MB.
+
+config ADK_TARGET_GPU_MEM_128
+ bool "128"
+ help
+ use 128 MB.
+
+config ADK_TARGET_GPU_MEM_256
+ bool "256"
+ help
+ use 256 MB.
+
+endchoice
+
+config ADK_TARGET_GPU_MEM
+ int
+ default 16 if ADK_TARGET_GPU_MEM_16
+ default 64 if ADK_TARGET_GPU_MEM_64
+ default 128 if ADK_TARGET_GPU_MEM_128
+ default 256 if ADK_TARGET_GPU_MEM_256
+ depends on ADK_TARGET_BOARD_BCM28XX
+