blob: 6785a93e2f52d44c73f0c35f6625db494d224866 [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)} \
Patrick Williams139d2d62023-02-03 17:37:20 -060016 ${@bb.utils.contains_any('DISTRO_FEATURES', \
17 'obmc-static-norootfs obmc-ubi-fs', \
18 'file://ubi/ubi.scc file://ubi/ubi.cfg', '', d)} \
Klaus Heinrich Kiwif920e742021-03-09 21:09:40 -030019 "
Lei YUc4e39cf2018-07-10 13:21:46 +080020
Brad Bishopac728462018-03-24 01:42:56 -040021LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
22
23PV = "${LINUX_VERSION}+git${SRCPV}"
24
Brad Bishopac728462018-03-24 01:42:56 -040025inherit kernel
26require recipes-kernel/linux/linux-yocto.inc
Joel Stanley8fc3b962018-06-16 14:09:54 +093027
Joel Stanley38a5d872020-05-04 22:15:56 +093028# From 5.6+ the COPYING file changed
29LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"