meta-intel/recipes-kernel/linux/linux-intel-rt_5.4.bb
Anuj Mittal 64c7aba6ad linux-intel/5.4: fix FIRMWARE_LOADER warnings
Update the kernel config revision to point to latest. Fixes:

|   [NOTE]: 'CONFIG_FW_LOADER' last val (m) and .config val (y) do not match
|    [INFO]: CONFIG_FW_LOADER : y ## .config: 1564 :configs/v5.4/ktypes/base/base.cfg (n) configs/v5.4/standard/features/firmware/firmware.cfg (m)
|    [INFO]: raw config text:

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-23 23:52:13 +08:00

31 lines
1.2 KiB
BlitzBasic

require linux-intel.inc
# Skip processing of this recipe if it is not explicitly specified as the
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
# to build multiple virtual/kernel providers, e.g. as dependency of
# core-image-rt-sdk, core-image-rt.
python () {
if d.getVar("KERNEL_PACKAGE_NAME", True) == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt":
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
}
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
SRC_URI_append = " file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch \
"
KBRANCH = "5.4/preempt-rt"
KMETA_BRANCH = "yocto-5.4"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "5.4.78"
SRCREV_machine ?= "d5fde3d31ce39557fac848a476e3473b14f2c042"
SRCREV_meta ?= "a1b2d188bdfc855ff9dff770480a24cecf66285d"
LINUX_KERNEL_TYPE = "preempt-rt"
# Kernel config 'CONFIG_GPIO_LYNXPOINT' goes by a different name 'CONFIG_PINCTRL_LYNXPOINT' in
# linux-intel 5.4 specifically. This cause annoying warning during kernel config audit. So suppress the
# harmless warning for now.
KCONF_BSP_AUDIT_LEVEL = "0"