summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-27 12:01:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-27 12:02:15 +0200
commit357ee8686cca131e91af63a9514c56c8d2260e43 (patch)
treec71527937c36066aac5fd0bec90ae68b229f31ad /target/config
parentd5f3583daeae5316edd189f1deba545f7086fba4 (diff)
automatically choose 128 MB gpu
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.target35
1 files changed, 29 insertions, 6 deletions
diff --git a/target/config/Config.in.target b/target/config/Config.in.target
index bba2003b8..cfaf4236a 100644
--- a/target/config/Config.in.target
+++ b/target/config/Config.in.target
@@ -277,10 +277,33 @@ config ADK_TARGET_PACKAGE_IPKG
endchoice
-config ADK_TARGET_GPU_MEM
- prompt "Target GPU Memory"
- int
- depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
- default 16
+choice
+prompt "Target GPU Memory"
+depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
+default ADK_TARGET_GPU_MEM_128 if ADK_PACKAGE_XBMC
+
+config ADK_TARGET_GPU_MEM_16
+ prompt "16"
+ boolean
+ help
+ use minimal 16 MB.
+
+config ADK_TARGET_GPU_MEM_64
+ prompt "64"
+ boolean
+ help
+ use 64 MB.
+
+config ADK_TARGET_GPU_MEM_128
+ prompt "128"
+ boolean
help
- use 128 or 256 when you use XBMC
+ use 128 MB, required for XBMC.
+
+config ADK_TARGET_GPU_MEM_256
+ prompt "256"
+ boolean
+ help
+ use 256 MB.
+
+endchoice