From: Ting Liu <[email protected]>
Signed-off-by: Ting Liu <[email protected]>
---
recipes-devtools/qemu/qemu-qoriq_git.bb | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb
b/recipes-devtools/qemu/qemu-qoriq_git.bb
index d2e66c9..99c1293 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 \
--
1.9.2
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale