summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-benchmark/glmark2
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-benchmark/glmark2')
-rw-r--r--meta-rcar-gen3/recipes-benchmark/glmark2/glmark2.inc3
-rw-r--r--meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend4
2 files changed, 5 insertions, 2 deletions
diff --git a/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2.inc b/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2.inc
new file mode 100644
index 0000000..fa5ac27
--- /dev/null
+++ b/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2.inc
@@ -0,0 +1,3 @@
+PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm libgbm"
+PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm libgbm"
+
diff --git a/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend b/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend
index 460c4b0..fdb7855 100644
--- a/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend
+++ b/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend
@@ -1,2 +1,2 @@
-PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm libgbm"
-PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm libgbm"
+require ${@"glmark2.inc" if "rcar-gen3" in d.getVar("OVERRIDES") else ""}
+