blob: fc4a4f9c55068ccf8764ce5d0d863a812702f9d6 [file] [log] [blame]
Brad Bishop23572092016-06-03 23:53:25 -04001DESCRIPTION = "Linux kernel for OpenBMC"
2SECTION = "kernel"
3LICENSE = "GPLv2"
4
5KCONFIG_MODE="--alldefconfig"
6
Christopher Bostic8d17c382017-03-24 16:14:04 -05007FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
8
Brad Bishop23572092016-06-03 23:53:25 -04009KSRC ?= "git://github.com/openbmc/linux;protocol=git;branch=${KBRANCH}"
10SRC_URI = "${KSRC}"
Christopher Bostic8d17c382017-03-24 16:14:04 -050011SRC_URI += "file://v3-0001-drivers-fsi-Increase-delay-before-sampling-input-.patch"
Brad Bishop23572092016-06-03 23:53:25 -040012
13LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
14
15PV = "${LINUX_VERSION}+git${SRCPV}"
16
17COMPATIBLE_MACHINE_${MACHINE} = "openbmc"
18
19do_patch_append() {
20 for DTB in "${KERNEL_DEVICETREE}"; do
21 DT=`basename ${DTB} .dtb`
22 if [ -r "${WORKDIR}/${DT}.dts" ]; then
23 cp ${WORKDIR}/${DT}.dts \
24 ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts
25 fi
26 done
27}
28
29inherit kernel
30require recipes-kernel/linux/linux-yocto.inc