mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 10:59:41 +01:00
Backporting the following mainline changes to the 4.1 and 4.4 kernels: device property: Avoid potential dereferences of invalid pointers device property: convert to use match_string() helper lib/string: introduce match_string() helper device property: fix for a case of use-after-free device property: fwnode->secondary may contain ERR_PTR(-ENODEV) xhci: harden xhci_find_next_ext_cap against device removal xhci: rework xhci extended capability list parsing functions xhci: parse xhci protocol speed ID list for usb 3.1 usage extcon: Redefine the unique id of supported external connectors without 'enum extcon' type extcon: Remove optional print_name() function pointer of extcon_dev extcon: Update the prototype of extcon_register_notifier() with enum extcon extcon: Use capital letter for the name of external connectors extcon: Use the unique id for external connector instead of string extcon: Remove the optional name of extcon device extcon: adc-jack: Remove the unneeded num_cables field extcon: Alter MHL-TA cable name to TA cable name extcon: Unify the dock device names on max8997/77693 extcon: Unify the jig cable names on rt8973 and max14577/77693/77843 extcon: Fix the checkpatch warning and minor coding style issue extcon: Add extcon_get_edev_name() API to get the extcon device name extcon: Modify the device name as extcon[X] for sysfs extcon: Add manufactor name of each extcon device And the following config change: mei.cfg: Add CONFIG_INTEL_MEI_TXE=m (From OE-Core rev: a04c634adc3d073701ecf2576fe9dd0cf8ace629) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.4 KiB
BlitzBasic
37 lines
1.4 KiB
BlitzBasic
KBRANCH ?= "standard/preempt-rt/base"
|
|
|
|
require recipes-kernel/linux/linux-yocto.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("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt":
|
|
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
|
|
}
|
|
|
|
SRCREV_machine ?= "3bdc347cc2087a0217e3acddccda5bb775cd570b"
|
|
SRCREV_meta ?= "4ebb8be6799bf2b738d46a3db49ebe59187f3b96"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \
|
|
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
|
|
|
|
LINUX_VERSION ?= "4.4.13"
|
|
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
KMETA = "kernel-meta"
|
|
KCONF_BSP_AUDIT_LEVEL = "2"
|
|
|
|
LINUX_KERNEL_TYPE = "preempt-rt"
|
|
|
|
COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)"
|
|
|
|
# Functionality flags
|
|
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
|
|
KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
|
|
KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
|
|
KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
|
|
KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
|