From: Ting Liu Date: Thu, 30 Jun 2016 07:09:50 +0000 (+0800) Subject: qemu-qoriq: Fix runtime providers X-Git-Tag: 2.2~333 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5f20962cd0017ddd4873942abd9c8aaa3cf2a3ee;p=meta-freescale.git qemu-qoriq: Fix runtime providers Signed-off-by: Ting Liu --- diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index d2e66c9e..99c1293d 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -2,7 +2,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" require recipes-devtools/qemu/qemu.inc -PROVIDES += "qemu" +PROVIDES = "qemu" + +python() { + pkgs = d.getVar('PACKAGES', True).split() + for p in pkgs: + if 'qemu-qoriq' in p: + d.appendVar("RPROVIDES_%s" % p, p.replace('qemu-qoriq', 'qemu')) + d.appendVar("RCONFLICTS_%s" % p, p.replace('qemu-qoriq', 'qemu')) + d.appendVar("RREPLACES_%s" % p, p.replace('qemu-qoriq', 'qemu')) +} DESCRIPTION = "This recipe requires poky's qemu.inc which includes the FSL \ fixes of QorIQ ARM and QorIQ PPC targets, the recipe assumes that glx enable \