From: Ting Liu <[email protected]>

Signed-off-by: Ting Liu <[email protected]>
---
 recipes-devtools/qemu/{qemu-fsl_git.bb => qemu-qoriq_git.bb} | 11 +++++++++++
 1 file changed, 11 insertions(+)
 rename recipes-devtools/qemu/{qemu-fsl_git.bb => qemu-qoriq_git.bb} (82%)

diff --git a/recipes-devtools/qemu/qemu-fsl_git.bb 
b/recipes-devtools/qemu/qemu-qoriq_git.bb
similarity index 82%
rename from recipes-devtools/qemu/qemu-fsl_git.bb
rename to recipes-devtools/qemu/qemu-qoriq_git.bb
index e049b90..ddabd00 100644
--- a/recipes-devtools/qemu/qemu-fsl_git.bb
+++ b/recipes-devtools/qemu/qemu-qoriq_git.bb
@@ -3,6 +3,17 @@ require recipes-devtools/qemu/qemu.inc
 LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
                     
file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
 
+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'))
+}
+
 # This means QEMU v2.2.0 with FSL specific patches applied
 PV = "2.2.0+${SRCPV}"
 
-- 
1.9.2

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to