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
commit93109e9c51f96e10eb105f1785c924c112e17274 (patch)
tree1754191708bb051195a2f6d201ba595aca0c21b6
parent0b52368c7b2949421a1e8c31aa8c80d580d3a1fc (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}"