diff options
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc index 5064dc76..4b99b55a 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-alt.inc | |||
| @@ -5,7 +5,7 @@ PROVIDES += "qemu" | |||
| 5 | # the use of AUTOREV SRCREVs, which may be the default for some recipes. | 5 | # the use of AUTOREV SRCREVs, which may be the default for some recipes. |
| 6 | python () { | 6 | python () { |
| 7 | if bb.data.inherits_class('nativesdk', d): | 7 | if bb.data.inherits_class('nativesdk', d): |
| 8 | if (not d.getVar("PREFERRED_PROVIDER_nativesdk-qemu") and "qemu" != d.getVar("PN")) or \ | 8 | if (not d.getVar("PREFERRED_PROVIDER_nativesdk-qemu") and "nativesdk-qemu" != d.getVar("PN")) or \ |
| 9 | (d.getVar("PREFERRED_PROVIDER_nativesdk-qemu") and d.getVar("PREFERRED_PROVIDER_nativesdk-qemu") != d.getVar("PN")): | 9 | (d.getVar("PREFERRED_PROVIDER_nativesdk-qemu") and d.getVar("PREFERRED_PROVIDER_nativesdk-qemu") != d.getVar("PN")): |
| 10 | d.delVar("BB_DONT_CACHE") | 10 | d.delVar("BB_DONT_CACHE") |
| 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_nativesdk-qemu to %s to enable it" % (d.getVar("PN"))) | 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_nativesdk-qemu to %s to enable it" % (d.getVar("PN"))) |
