blob: 73f0614bc545bf77af8d2d69644cd2dc1f5ff671 [file] [log] [blame]
Brad Bishopac728462018-03-24 01:42:56 -04001DESCRIPTION = "Linux kernel for Aspeed"
2SECTION = "kernel"
Patrick Williamsd541ec52022-04-30 07:41:26 -05003LICENSE = "GPL-2.0-only"
Brad Bishopac728462018-03-24 01:42:56 -04004
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 \
Patrick Williamsa8acb6c2023-02-03 17:05:53 -060015 ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm/tpm2.scc file://tpm/tpm2.cfg', '', 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"