blob: 6098885d5e9b5ae07ede0554aac35e9e98c3dc50 [file] [log] [blame]
Brad Bishopac728462018-03-24 01:42:56 -04001DESCRIPTION = "Linux kernel for Aspeed"
2SECTION = "kernel"
3LICENSE = "GPLv2"
4
5PROVIDES += "virtual/kernel"
6
7KCONFIG_MODE="--alldefconfig"
8
9KSRC ?= "git://github.com/openbmc/linux;protocol=git;branch=${KBRANCH}"
10SRC_URI = "${KSRC}"
Klaus Heinrich Kiwif920e742021-03-09 21:09:40 -030011SRC_URI += " \
12 file://defconfig \
13 file://rsa_oem_fitimage_key.key;sha256sum=eeb4ff2ebbfbd97b6254fe6dbaeea41067e54c65176c233ec7b2ab2decf1ddcd \
14 file://rsa_oem_fitimage_key.crt;sha256sum=45f5a55497cce8040999bf9f3214d471ac7b83ab7acef41c4425a34662e8372e \
Potin Lai8c3075a2021-12-13 23:13:02 +080015 ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm/tpm2.scc', '', d)} \
Klaus Heinrich Kiwif920e742021-03-09 21:09:40 -030016 "
Lei YUc4e39cf2018-07-10 13:21:46 +080017
Brad Bishopac728462018-03-24 01:42:56 -040018LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
19
20PV = "${LINUX_VERSION}+git${SRCPV}"
21
Brad Bishopac728462018-03-24 01:42:56 -040022inherit kernel
23require recipes-kernel/linux/linux-yocto.inc
Joel Stanley8fc3b962018-06-16 14:09:54 +093024
Joel Stanley38a5d872020-05-04 22:15:56 +093025# From 5.6+ the COPYING file changed
26LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"