meta-intel/recipes-kernel/linux/linux-intel.inc
Anuj Mittal 13ae1339c2 linux-intel/4.19: add recipe
Builds 4.19/base from linux-intel-lts.

Include a patch from linux-yocto 4.18 to detect ncurses correctly when
cross-compiling and move the older patch to version specific recipes
from inc.

In addition to intel-common kernel configs from yocto-kernel-cache, this
also includes security.scc feature which enables a set of configs with
the aim of reducing the kernel attack surface and/or of performing
additional checks and validation of commonly used structures in kernel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-05 14:42:27 +08:00

26 lines
883 B
PHP

require recipes-kernel/linux/linux-yocto.inc
require recipes-kernel/linux/meta-intel-compat-kernel.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-intel:"
KERNEL_CONFIG_URI ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${KMETA_BRANCH};destsuffix=${KMETA}"
SRC_URI = " \
git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \
${KERNEL_CONFIG_URI} \
"
SRC_URI_append_core2-32-intel-common = " file://disable_skylake_sound.cfg"
LINUX_VERSION_EXTENSION ?= "-intel-pk-${LINUX_KERNEL_TYPE}"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
COMPATIBLE_MACHINE ?= "(intel-corei7-64|intel-core2-32)"
KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"