diff options
-rw-r--r-- | recipes-devtools/qemu/qemu-qoriq_git.bb | 11 |
1 files changed, 10 insertions, 1 deletions
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}:" | |||
2 | 2 | ||
3 | require recipes-devtools/qemu/qemu.inc | 3 | require recipes-devtools/qemu/qemu.inc |
4 | 4 | ||
5 | PROVIDES += "qemu" | 5 | PROVIDES = "qemu" |
6 | |||
7 | python() { | ||
8 | pkgs = d.getVar('PACKAGES', True).split() | ||
9 | for p in pkgs: | ||
10 | if 'qemu-qoriq' in p: | ||
11 | d.appendVar("RPROVIDES_%s" % p, p.replace('qemu-qoriq', 'qemu')) | ||
12 | d.appendVar("RCONFLICTS_%s" % p, p.replace('qemu-qoriq', 'qemu')) | ||
13 | d.appendVar("RREPLACES_%s" % p, p.replace('qemu-qoriq', 'qemu')) | ||
14 | } | ||
6 | 15 | ||
7 | DESCRIPTION = "This recipe requires poky's qemu.inc which includes the FSL \ | 16 | DESCRIPTION = "This recipe requires poky's qemu.inc which includes the FSL \ |
8 | fixes of QorIQ ARM and QorIQ PPC targets, the recipe assumes that glx enable \ | 17 | fixes of QorIQ ARM and QorIQ PPC targets, the recipe assumes that glx enable \ |