diff options
author | Mark Hatle <mark.hatle@amd.com> | 2023-01-10 08:45:34 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-01-11 12:23:20 -0600 |
commit | 6c8fa4d28beed08eb37c33f23dfeebb5677fb2a8 (patch) | |
tree | 823f80fa3562f7569a35aa715fa344e0a5824c29 /meta-xilinx-core/recipes-devtools | |
parent | 771747ae2372e819ed29628cd18453b05c026b2f (diff) | |
download | meta-xilinx-6c8fa4d28beed08eb37c33f23dfeebb5677fb2a8.tar.gz |
qemu: Fix nativesdk-qemu disabling
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-devtools')
-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"))) |