summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-06-24 10:50:56 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-30 13:41:58 +0200
commit2720ffc017879475b8aff98dcc02a72debd55207 (patch)
treee8875327cb7b26de58a4242a63730fcbf203005d
parent6f6d5012d07272eb5e558117b5d9c566e57401c5 (diff)
glmark2: tk1: build gles2 and gl for x11
while at it move both to machine arch to reduce rebuilds. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--recipes-benchmark/glmark2/glmark2_%.bbappend9
1 files changed, 7 insertions, 2 deletions
diff --git a/recipes-benchmark/glmark2/glmark2_%.bbappend b/recipes-benchmark/glmark2/glmark2_%.bbappend
index 8aba30f..287ef0f 100644
--- a/recipes-benchmark/glmark2/glmark2_%.bbappend
+++ b/recipes-benchmark/glmark2/glmark2_%.bbappend
@@ -1,2 +1,7 @@
-#build it only for OpenGL ES
-PACKAGECONFIG_tegra = "x11-gles2" \ No newline at end of file
+# T20/T30: build it only for OpenGL ES on top of X11
+PACKAGECONFIG_tegra = "x11-gles2"
+PACKAGE_ARCH_tegra = "${MACHINE_ARCH}"
+
+# TK1: build it only for OpenGL ES on top of X11
+PACKAGECONFIG_tegra124 = "x11-gl x11-gles2"
+PACKAGE_ARCH_tegra124 = "${MACHINE_ARCH}"