blob: 0f65dfea151d4ff0b885f4ed5b03f8b8e694ce63 [file] [log] [blame]
Ivan Mikhaylov4b2430e2017-10-24 21:17:24 +03001DESCRIPTION = "Linux kernel for the FSP2 system on a chip"
2SECTION = "kernel"
3LICENSE = "GPLv2"
4
5KCONFIG_MODE="--alldefconfig"
6
7KSRC ?= "git://github.com/openbmc/linux;protocol=git;branch=dev-4.13"
8SRC_URI = "${KSRC}"
9
10LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
11
12PV = "${LINUX_VERSION}+git${SRCPV}"
13
14COMPATIBLE_MACHINE_${MACHINE} = "^${MACHINE}$"
Ivan Mikhaylova63de4a2018-04-25 06:43:26 -040015KERNEL_CLASSES ?= "kernel-uimage"
Ivan Mikhaylov4b2430e2017-10-24 21:17:24 +030016
17do_patch_append() {
Alexander Hedgesb220f992018-08-21 19:09:23 +020018 for DTB in "${KERNEL_DEVICETREE}"; do
19 DT=`basename ${DTB} .dtb`
20 if [ -r "${WORKDIR}/${DT}.dts" ]; then
21 cp ${WORKDIR}/${DT}.dts \
22 ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts
23 fi
24 done
Ivan Mikhaylov4b2430e2017-10-24 21:17:24 +030025}
26
27inherit kernel
28require recipes-kernel/linux/linux-yocto.inc
29
30KERNEL_FEATURES_remove = "phosphor-gpio-keys"
31INSANE_SKIP_kernel-vmlinux = "ldflags"