xref: /openbmc/openbmc/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.6.bb (revision 8460358c3d24c71d9d38fd126c745854a6301564)
1*8460358cSPatrick WilliamsLINUX_VERSION ?= "6.6.63"
203514f19SPatrick WilliamsLINUX_RPI_BRANCH ?= "rpi-6.6.y"
303514f19SPatrick WilliamsLINUX_RPI_KMETA_BRANCH ?= "yocto-6.6"
403514f19SPatrick Williams
5*8460358cSPatrick WilliamsSRCREV_machine = "e442e5c1ab6bff5b5460b4fc949beb72aaf77970"
6*8460358cSPatrick WilliamsSRCREV_meta = "52ff0d75713ce61962b325a2090bd55e216f0cf3"
703514f19SPatrick Williams
803514f19SPatrick WilliamsKMETA = "kernel-meta"
903514f19SPatrick Williams
1003514f19SPatrick WilliamsSRC_URI = " \
1103514f19SPatrick Williams    git://github.com/raspberrypi/linux.git;name=machine;branch=${LINUX_RPI_BRANCH};protocol=https \
1203514f19SPatrick Williams    git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${LINUX_RPI_KMETA_BRANCH};destsuffix=${KMETA} \
1303514f19SPatrick Williams    file://powersave.cfg \
1403514f19SPatrick Williams    file://android-drivers.cfg \
1503514f19SPatrick Williams    "
1603514f19SPatrick Williams
1703514f19SPatrick Williamsrequire linux-raspberrypi.inc
1803514f19SPatrick Williams
1903514f19SPatrick WilliamsKERNEL_DTC_FLAGS += "-@ -H epapr"
2003514f19SPatrick Williams
2103514f19SPatrick WilliamsRDEPENDS:${KERNEL_PACKAGE_NAME}:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}"
2203514f19SPatrick WilliamsRDEPENDS:${KERNEL_PACKAGE_NAME}-base:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-base"
2303514f19SPatrick WilliamsRDEPENDS:${KERNEL_PACKAGE_NAME}-image:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-image"
2403514f19SPatrick WilliamsRDEPENDS:${KERNEL_PACKAGE_NAME}-dev:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dev"
2503514f19SPatrick WilliamsRDEPENDS:${KERNEL_PACKAGE_NAME}-vmlinux:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-vmlinux"
2603514f19SPatrick WilliamsRDEPENDS:${KERNEL_PACKAGE_NAME}-modules:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-modules"
2703514f19SPatrick WilliamsRDEPENDS:${KERNEL_PACKAGE_NAME}-dbg:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dbg"
2803514f19SPatrick Williams
2903514f19SPatrick WilliamsDEPLOYDEP = ""
3003514f19SPatrick WilliamsDEPLOYDEP:raspberrypi-armv7 = "${RASPBERRYPI_v7_KERNEL}:do_deploy"
3103514f19SPatrick Williamsdo_deploy[depends] += "${DEPLOYDEP}"
32