require recipes-kernel/linux/linux-deploy-kconfig.inc FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://0001-Changed-overlays-directory-path.patch" # Inhibits warnings printed during do_kernel_configcheck KCONF_AUDIT_LEVEL = "0" # The meta-raspberrypi layer generates the kernel configuration using # "yes '' | make oldconfig", so we need to instruct the Yocto kernel # mechanism to use KCONFIG_MODE "--alldefconfig" to produce a similar # end result. KCONFIG_MODE = "--alldefconfig" # The .config file generated using the kernel cache mechanism will be # cleaned up by meta-raspberrypi layer (see do_configure_prepend() # in meta-raspberrypi/recipes-kernel/linux/linux-rpi.inc). # As a workaround, we copy the kernel cache generated .config file to # ${WORKDIR}/defconfig, which will then be used as default configuration # by meta-raspberrypi. do_configure_prepend() { cp ${B}/.config ${WORKDIR}/defconfig } SRCREV_metaenea ?= "1a3c360fa96d170868e525c0199f41ad47528c8b" KENEABRANCH = "raspberrypi-4.9" SRC_URI_append = " git://git@git.enea.com/linux/enea-kernel-cache.git;protocol=ssh;type=kmeta;name=metaenea;branch=${KENEABRANCH};destsuffix=enea-kernel-cache" # Debug tools support KERNEL_FEATURES_append = " features/debug/debug_kernel_y.scc" KERNEL_FEATURES_append = " features/kgdb/kgdb_y.scc" KERNEL_FEATURES_append = " features/lttng/lttng_y.scc" KERNEL_FEATURES_append = " features/latencytop/latencytop_y.scc" KERNEL_FEATURES_append = " features/perf/perf_y.scc" KERNEL_FEATURES_append = " features/systemtap/systemtap_y.scc"