mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02: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:
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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user