summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuy Dang <duy.dang.yw@renesas.com>2019-06-28 14:20:11 +0700
committerKhang Nguyen <khang.nguyen.xw@renesas.com>2019-09-24 08:16:31 +0700
commite1a44724144e599f538b2573949ac08ad68e9d6f (patch)
treee43ade43004fa3f3f77566bc0628a1fbeffd5ba9
parent4a8d23d95d1b56e5f97b2f8cbb895420d59a01b9 (diff)
rcar-gen3: glmark2: Use .inc for R-Car specific recipe
The variable flags in this bbappend file do not support overrides. So it can be separated to other inc file and conditionally required in bbapend file. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Idf4b82063debb306cab751f6d492b708d3ad0d8f
-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 ""}
+