1DESCRIPTION = "Linux kernel for Aspeed"
2SECTION = "kernel"
3LICENSE = "GPL-2.0-only"
4
5PROVIDES += "virtual/kernel"
6
7KCONFIG_MODE="--alldefconfig"
8
9KSRC ?= "git://github.com/openbmc/linux;protocol=https;branch=${KBRANCH}"
10SRC_URI += "${KSRC}"
11SRC_URI += " \
12             file://defconfig \
13             file://rsa_oem_fitimage_key.key;sha256sum=eeb4ff2ebbfbd97b6254fe6dbaeea41067e54c65176c233ec7b2ab2decf1ddcd \
14             file://rsa_oem_fitimage_key.crt;sha256sum=45f5a55497cce8040999bf9f3214d471ac7b83ab7acef41c4425a34662e8372e \
15             ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm/tpm2.scc file://tpm/tpm2.cfg', '', d)} \
16             ${@bb.utils.contains_any('DISTRO_FEATURES', \
17                'obmc-static-norootfs obmc-ubi-fs', \
18                'file://ubi/ubi.scc file://ubi/ubi.cfg', '', d)} \
19           "
20
21LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
22
23PV = "${LINUX_VERSION}+git${SRCPV}"
24
25inherit kernel
26require recipes-kernel/linux/linux-yocto.inc
27
28# From 5.6+ the COPYING file changed
29LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
30