diff options
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc index 4b99b55a..7e88713c 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc | |||
| @@ -13,7 +13,8 @@ python () { | |||
| 13 | (d.getVar("PREFERRED_PROVIDER_qemu") and d.getVar("PREFERRED_PROVIDER_qemu") != d.getVar("PN")): | 13 | (d.getVar("PREFERRED_PROVIDER_qemu") and d.getVar("PREFERRED_PROVIDER_qemu") != d.getVar("PN")): |
| 14 | d.delVar("BB_DONT_CACHE") | 14 | d.delVar("BB_DONT_CACHE") |
| 15 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_qemu to %s to enable it" % (d.getVar("PN"))) | 15 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_qemu to %s to enable it" % (d.getVar("PN"))) |
| 16 | } | ||
| 17 | 16 | ||
| 18 | RPROVIDES:${PN} += "qemu" | 17 | if (d.getVar('BPN') != 'qemu'): |
| 19 | RPROVIDES:${PN}-ptest += "qemu-ptest" | 18 | for pkg in d.getVar('PACKAGES').split(): |
| 19 | d.appendVar('RPROVIDES:%s' % pkg, ' ' + pkg.replace(d.getVar('PN'), 'qemu')) | ||
| 20 | } | ||
