blob: 76d96ff767aa074594263161c4ed1771505649c9 [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
George Liuab581b82022-02-15 16:49:16 +08009KSRC ?= "git://github.com/openbmc/linux;protocol=https;branch=${KBRANCH}"
Patrick Williams5bcabe92022-02-18 15:35:20 -060010SRC_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"