summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
diff options
context:
space:
mode:
authorKhang Nguyen <khang.nguyen.xw@renesas.com>2019-07-17 19:13:11 +0700
committerKhang Nguyen <khang.nguyen.xw@renesas.com>2019-09-24 08:16:31 +0700
commit4a8d23d95d1b56e5f97b2f8cbb895420d59a01b9 (patch)
tree3b8fba86c957244be12b2d23e44ba8e4cff61f82 /meta-rcar-gen3
parent025edeb911a8b78a7842bb6df6dde3fbdcd3c1f4 (diff)
rcar-gen3: images: Add condition to require directive
This commit adds the condition to require directive to only modify the based image recipes when building for R-Car platform, it avoids breaking the build on another platform that refers to this layer. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Icad09e223d5b8fc0358e59d1482d41f75d473822
Diffstat (limited to 'meta-rcar-gen3')
-rw-r--r--meta-rcar-gen3/recipes-core/images/core-image-minimal.bbappend2
-rw-r--r--meta-rcar-gen3/recipes-graphics/images/core-image-weston.bbappend4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-rcar-gen3/recipes-core/images/core-image-minimal.bbappend b/meta-rcar-gen3/recipes-core/images/core-image-minimal.bbappend
index b1bd123..7068800 100644
--- a/meta-rcar-gen3/recipes-core/images/core-image-minimal.bbappend
+++ b/meta-rcar-gen3/recipes-core/images/core-image-minimal.bbappend
@@ -1 +1 @@
-require recipes-graphics/images/core-image-renesas-base.inc
+require ${@"recipes-graphics/images/core-image-renesas-base.inc" if "rcar-gen3" in d.getVar("OVERRIDES") else ""}
diff --git a/meta-rcar-gen3/recipes-graphics/images/core-image-weston.bbappend b/meta-rcar-gen3/recipes-graphics/images/core-image-weston.bbappend
index e30bc2e..41f1cb0 100644
--- a/meta-rcar-gen3/recipes-graphics/images/core-image-weston.bbappend
+++ b/meta-rcar-gen3/recipes-graphics/images/core-image-weston.bbappend
@@ -1,2 +1,2 @@
-require core-image-renesas-base.inc
-require core-image-weston.inc
+require ${@"core-image-renesas-base.inc" if "rcar-gen3" in d.getVar("OVERRIDES") else ""}
+require ${@"core-image-weston.inc" if "rcar-gen3" in d.getVar("OVERRIDES") else ""}