Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
DESCRIPTION = "Linux kernel for the FSP2 system on a chip"
|
||||
SECTION = "kernel"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
|
||||
KCONFIG_MODE="--alldefconfig"
|
||||
|
||||
KSRC ?= "git://github.com/openbmc/linux;protocol=https;branch=dev-4.17"
|
||||
SRC_URI = "${KSRC}"
|
||||
|
||||
LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
|
||||
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
COMPATIBLE_MACHINE_${MACHINE} = "^${MACHINE}$"
|
||||
KERNEL_CLASSES ?= "kernel-uimage"
|
||||
KERNEL_IMAGETYPE ?= "uImage"
|
||||
|
||||
do_patch:append() {
|
||||
for DTB in "${KERNEL_DEVICETREE}"; do
|
||||
DT=`basename ${DTB} .dtb`
|
||||
if [ -r "${WORKDIR}/${DT}.dts" ]; then
|
||||
cp ${WORKDIR}/${DT}.dts \
|
||||
${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
inherit kernel
|
||||
require recipes-kernel/linux/linux-yocto.inc
|
||||
|
||||
INSANE_SKIP:kernel-vmlinux = "ldflags"
|
||||
@@ -0,0 +1,5 @@
|
||||
LINUX_VERSION ?= "4.17.18"
|
||||
|
||||
SRCREV="80d901318acc389e6e09698a8927bf6eb29da314"
|
||||
|
||||
require linux-fsp2.inc
|
||||
Reference in New Issue
Block a user