Brad Bishop | ac72846 | 2018-03-24 01:42:56 -0400 | [diff] [blame] | 1 | DESCRIPTION = "Linux kernel for Aspeed" |
| 2 | SECTION = "kernel" |
Patrick Williams | d541ec5 | 2022-04-30 07:41:26 -0500 | [diff] [blame] | 3 | LICENSE = "GPL-2.0-only" |
Brad Bishop | ac72846 | 2018-03-24 01:42:56 -0400 | [diff] [blame] | 4 | |
| 5 | PROVIDES += "virtual/kernel" |
| 6 | |
| 7 | KCONFIG_MODE="--alldefconfig" |
| 8 | |
George Liu | ab581b8 | 2022-02-15 16:49:16 +0800 | [diff] [blame] | 9 | KSRC ?= "git://github.com/openbmc/linux;protocol=https;branch=${KBRANCH}" |
Patrick Williams | 5bcabe9 | 2022-02-18 15:35:20 -0600 | [diff] [blame] | 10 | SRC_URI += "${KSRC}" |
Klaus Heinrich Kiwi | f920e74 | 2021-03-09 21:09:40 -0300 | [diff] [blame] | 11 | SRC_URI += " \ |
| 12 | file://defconfig \ |
| 13 | file://rsa_oem_fitimage_key.key;sha256sum=eeb4ff2ebbfbd97b6254fe6dbaeea41067e54c65176c233ec7b2ab2decf1ddcd \ |
| 14 | file://rsa_oem_fitimage_key.crt;sha256sum=45f5a55497cce8040999bf9f3214d471ac7b83ab7acef41c4425a34662e8372e \ |
Patrick Williams | a8acb6c | 2023-02-03 17:05:53 -0600 | [diff] [blame] | 15 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm/tpm2.scc file://tpm/tpm2.cfg', '', d)} \ |
Patrick Williams | 139d2d6 | 2023-02-03 17:37:20 -0600 | [diff] [blame] | 16 | ${@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 Kiwi | f920e74 | 2021-03-09 21:09:40 -0300 | [diff] [blame] | 19 | " |
Lei YU | c4e39cf | 2018-07-10 13:21:46 +0800 | [diff] [blame] | 20 | |
Brad Bishop | ac72846 | 2018-03-24 01:42:56 -0400 | [diff] [blame] | 21 | LINUX_VERSION_EXTENSION ?= "-${SRCREV}" |
| 22 | |
| 23 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 24 | |
Brad Bishop | ac72846 | 2018-03-24 01:42:56 -0400 | [diff] [blame] | 25 | inherit kernel |
| 26 | require recipes-kernel/linux/linux-yocto.inc |
Joel Stanley | 8fc3b96 | 2018-06-16 14:09:54 +0930 | [diff] [blame] | 27 | |
Joel Stanley | 38a5d87 | 2020-05-04 22:15:56 +0930 | [diff] [blame] | 28 | # From 5.6+ the COPYING file changed |
| 29 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |