mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-05-31 12:49:50 +00:00
linux-raspberrypi-dev: Skip if not preferred provider
This should avoid network traffic to resolve ${AUTOREV} unless this
recipe is explicitly selected as the preferred provider of
virtual/kernel.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
This commit is contained in:
committed by
Andrei Gherzan
parent
e147e12d94
commit
081405feaa
@@ -1,3 +1,10 @@
|
|||||||
|
python __anonymous() {
|
||||||
|
if "linux-raspberrypi-dev" not in d.getVar("PREFERRED_PROVIDER_virtual/kernel"):
|
||||||
|
msg = "Skipping linux-raspberrypi-dev as it is not the preferred " + \
|
||||||
|
"provider of virtual/kernel."
|
||||||
|
raise bb.parse.SkipRecipe(msg)
|
||||||
|
}
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:"
|
||||||
|
|
||||||
LINUX_VERSION ?= "4.11"
|
LINUX_VERSION ?= "4.11"
|
||||||
|
|||||||
Reference in New Issue
Block a user