blob: de1f60aca18fc2f9742fbb743ba6abaf60077f8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
PROVIDES += "qemu-system-native"
# Skip processing of this recipe if it is not explicitly specified as the
# PREFERRED_PROVIDER for qemu-syste-native. This avoids network access required by
# the use of AUTOREV SRCREVs, which may be the default for some recipes.
python () {
if (not d.getVar("PREFERRED_PROVIDER_qemu-system-native") and "qemu-system-native" != d.getVar("PN")) or \
(d.getVar("PREFERRED_PROVIDER_qemu-system-native") and d.getVar("PREFERRED_PROVIDER_qemu-system-native") != d.getVar("PN")):
d.setVar('BB_DONT_CACHE', '1')
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_qemu-system-native to %s to enable it" % (d.getVar("PN")))
}
RPROVIDES:${PN} += "qemu-system-native"
|