summaryrefslogtreecommitdiff
path: root/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2021-08-04 00:13:34 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-08-04 00:14:08 +0300
commit56721c97f25162e10ec94263081138c48adf7544 (patch)
tree0c673b34fd0cf8ced1520d93e50d22c891ed91df /meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
parent5bec55bdd0fda81d0a2d146fa7632abe889ac1a4 (diff)
downloadopenbmc-gatesgarth.tar.xz
subtree updatesgatesgarth
meta-raspberrypi: 3ae135e590..e5e976da0b: Andrei Gherzan (1): layer.conf: Define LAYERDEPENDS Martin Jansa (5): linux-raspberrypi: allow to change the yocto-kernel-cache branch with LINUX_RPI_KMETA_BRANCH linux-raspberrypi-dev: drop protocol=git and add LINUX_RPI_KMETA_BRANCH linux-raspberrypi-dev: use static SRCREV when not selected with PREFERRED_PROVIDER_virtual/kernel layer.conf: Remove older releases from LAYERSERIES_COMPAT python3-adafruit-*: fix branch parameter poky: 6a751048e5..9c1e94752e: Denys Dmytriyenko (1): bitbake: providers: replace newly added logger.warn() with logger.warning() Richard Purdie (2): bitbake: data_smart/parse: Allow ':' characters in variable/function names bitbake: data_smart: Allow colon in variable expansion regex Tomasz Dziendzielski (1): bitbake: BBHandler: Don't classify shell functions that names start with "python*" as python function Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I19fbdb6f4c30a4ad6cd0155495e52fc1a4612585
Diffstat (limited to 'meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb')
-rw-r--r--meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb14
1 files changed, 10 insertions, 4 deletions
diff --git a/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb b/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
index 404d3f61c6..1506c94874 100644
--- a/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
+++ b/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
@@ -7,15 +7,21 @@ python __anonymous() {
LINUX_VERSION ?= "5.10.y"
LINUX_RPI_BRANCH ?= "rpi-5.10.y"
+LINUX_RPI_KMETA_BRANCH ?= "yocto-5.10"
-SRCREV_machine = "${AUTOREV}"
-SRCREV_meta = "${AUTOREV}"
+# Set default SRCREVs. Both the machine and meta SRCREVs are statically set
+# to the as in 5.10 recipe, and hence prevent network access during parsing. If
+# linux-yocto-dev is the preferred provider, they will be overridden to
+# AUTOREV in following anonymous python routine and resolved when the
+# variables are finalized.
+SRCREV_machine ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-raspberrypi-dev", "${AUTOREV}", "89399e6e7e33d6260a954603ca03857df594ffd3", d)}'
+SRCREV_meta ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-raspberrypi-dev", "${AUTOREV}", "a19886b00ea7d874fdd60d8e3435894bb16e6434", d)}'
KMETA = "kernel-meta"
SRC_URI = " \
- git://github.com/raspberrypi/linux.git;name=machine;protocol=git;branch=${LINUX_RPI_BRANCH} \
- git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=master;destsuffix=${KMETA} \
+ git://github.com/raspberrypi/linux.git;name=machine;branch=${LINUX_RPI_BRANCH} \
+ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${LINUX_RPI_KMETA_BRANCH};destsuffix=${KMETA} \
file://powersave.cfg \
file://android-drivers.cfg \
"