Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | python __anonymous() { |
| 2 | if "linux-raspberrypi-dev" not in d.getVar("PREFERRED_PROVIDER_virtual/kernel"): |
| 3 | msg = "Skipping linux-raspberrypi-dev as it is not the preferred " + \ |
| 4 | "provider of virtual/kernel." |
| 5 | raise bb.parse.SkipRecipe(msg) |
| 6 | } |
| 7 | |
Andrew Geissler | 26e4bea | 2020-11-30 19:54:03 -0600 | [diff] [blame] | 8 | LINUX_VERSION ?= "5.10.y" |
| 9 | LINUX_RPI_BRANCH ?= "rpi-5.10.y" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | |
Andrew Geissler | 26e4bea | 2020-11-30 19:54:03 -0600 | [diff] [blame] | 11 | SRCREV_machine = "${AUTOREV}" |
| 12 | SRCREV_meta = "${AUTOREV}" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | |
Andrew Geissler | 26e4bea | 2020-11-30 19:54:03 -0600 | [diff] [blame] | 14 | KMETA = "kernel-meta" |
| 15 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 16 | SRC_URI = " \ |
Andrew Geissler | 26e4bea | 2020-11-30 19:54:03 -0600 | [diff] [blame] | 17 | git://github.com/raspberrypi/linux.git;name=machine;protocol=git;branch=${LINUX_RPI_BRANCH} \ |
| 18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=master;destsuffix=${KMETA} \ |
| 19 | file://powersave.cfg \ |
| 20 | file://android-drivers.cfg \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 21 | " |
Andrew Geissler | 26e4bea | 2020-11-30 19:54:03 -0600 | [diff] [blame] | 22 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 23 | require linux-raspberrypi.inc |
| 24 | |
Andrew Geissler | 26e4bea | 2020-11-30 19:54:03 -0600 | [diff] [blame] | 25 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 26 | |
| 27 | KERNEL_EXTRA_ARGS += "DTC_FLAGS='-@ -H epapr'" |
| 28 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 29 | # Disable version check so that we don't have to edit this recipe every time |
| 30 | # upstream bumps the version |
| 31 | KERNEL_VERSION_SANITY_SKIP = "1" |