From e1a44724144e599f538b2573949ac08ad68e9d6f Mon Sep 17 00:00:00 2001 From: Duy Dang Date: Fri, 28 Jun 2019 14:20:11 +0700 Subject: 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 Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda Change-Id: Idf4b82063debb306cab751f6d492b708d3ad0d8f --- meta-rcar-gen3/recipes-benchmark/glmark2/glmark2.inc | 3 +++ meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 meta-rcar-gen3/recipes-benchmark/glmark2/glmark2.inc 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 ""} + -- cgit 1.2.3-korg