summaryrefslogtreecommitdiff
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
parentd5f3583daeae5316edd189f1deba545f7086fba4 (diff)
automatically choose 128 MB gpu
-rw-r--r--target/collections/xbmcbox1
-rw-r--r--target/config/Config.in.target35
2 files changed, 30 insertions, 6 deletions
diff --git a/target/collections/xbmcbox b/target/collections/xbmcbox
index 4fa38c54d..baf2794e2 100644
--- a/target/collections/xbmcbox
+++ b/target/collections/xbmcbox
@@ -17,6 +17,7 @@ config ADK_PKG_XBMCBOX
select ADK_TARGET_USE_LD_BIND_NOW
select ADK_QUIET_KERNEL
select ADK_RUNTIME_QUIET_INIT
+ select ADK_TARGET_GPU_MEM_128
help
Create a small xbmc box.
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