aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-sato
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2014-07-20 13:31:09 -0400
committerDrew Moseley <drew_moseley@mentor.com>2014-07-29 11:04:57 -0400
commitb73f5267c407141e200b1d49862e16f78f4ff5ca (patch)
tree5bfae12f4c6feca0e4a7293ccd0e1096ea14e1f5 /common/recipes-sato
parentf3607a4c5b48cf7dcb1be12e1d134ce75c5d5bb6 (diff)
downloadmeta-amd-b73f5267c407141e200b1d49862e16f78f4ff5ca.tar.gz
meta-amd-b73f5267c407141e200b1d49862e16f78f4ff5ca.tar.bz2
meta-amd-b73f5267c407141e200b1d49862e16f78f4ff5ca.zip
core-image-sato: Cleanup the gaku removal
Use a simpler conditional setting to remove gaku in mel-lite builds. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Diffstat (limited to 'common/recipes-sato')
-rw-r--r--common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend11
1 files changed, 2 insertions, 9 deletions
diff --git a/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend b/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
index 3602803c..5ebf186c 100644
--- a/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
+++ b/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
@@ -1,9 +1,2 @@
-python __anonymous () {
- if d.getVar("DISTRO", True) == "mel-lite":
- # Remove gaku from the apps as it depends
- # on gstreamer which is currently unsupported
- # in MEL Lite.
- rdepvar = "RDEPENDS_%s-apps" % (d.getVar("PN", True))
- rdep = d.getVar(rdepvar, True)
- d.setVar(rdepvar, rdep.replace("gaku", ""))
-}
+RDEPENDS_${PN}-apps_remove := "${@base_contains("DISTRO", "mel-lite", "gaku", "", d)}"
+