Dave Cobbley | 5dd2a7c | 2018-08-23 23:07:27 -0400 | [diff] [blame] | 1 | DESCRIPTION = "Linux kernel for the FSP2 system on a chip" |
| 2 | SECTION = "kernel" |
| 3 | LICENSE = "GPLv2" |
| 4 | |
| 5 | KCONFIG_MODE="--alldefconfig" |
| 6 | |
| 7 | KSRC ?= "git://github.com/openbmc/linux;protocol=git;branch=dev-4.13" |
| 8 | SRC_URI = "${KSRC}" |
| 9 | |
| 10 | LINUX_VERSION_EXTENSION ?= "-${SRCREV}" |
| 11 | |
| 12 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 13 | |
| 14 | COMPATIBLE_MACHINE_${MACHINE} = "^${MACHINE}$" |
| 15 | KERNEL_CLASSES ?= "kernel-uimage" |
| 16 | |
| 17 | do_patch_append() { |
| 18 | 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 |
| 25 | } |
| 26 | |
| 27 | inherit kernel |
| 28 | require recipes-kernel/linux/linux-yocto.inc |
| 29 | |
| 30 | KERNEL_FEATURES_remove = "phosphor-gpio-keys" |
| 31 | INSANE_SKIP_kernel-vmlinux = "ldflags" |