mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-04-02 02:49:12 +00:00
* COPYING was changed only 4 times (last time in 5.6 with: https://github.com/torvalds/linux/commit/74835c7db0322 ) so hopefully it will last for a while Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
30 lines
905 B
BlitzBasic
30 lines
905 B
BlitzBasic
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)
|
|
}
|
|
|
|
LINUX_VERSION ?= "5.10.y"
|
|
LINUX_RPI_BRANCH ?= "rpi-5.10.y"
|
|
|
|
SRCREV_machine = "${AUTOREV}"
|
|
SRCREV_meta = "${AUTOREV}"
|
|
|
|
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} \
|
|
file://powersave.cfg \
|
|
file://android-drivers.cfg \
|
|
"
|
|
|
|
require linux-raspberrypi.inc
|
|
|
|
KERNEL_DTC_FLAGS += "-@ -H epapr"
|
|
|
|
# Disable version check so that we don't have to edit this recipe every time
|
|
# upstream bumps the version
|
|
KERNEL_VERSION_SANITY_SKIP = "1"
|