meta-intel/recipes-kernel/linux/linux-intel-rt_5.10.bb
Anuj Mittal 9ca88f0ea5 linux-intel/5.10: fix build with binutils 2.36
Backport a couple of patches to fix builds with binutils v2.36. These
should not be required once these are made available in LTS branches.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-03 15:52:33 +08:00

28 lines
1.1 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=6bc538ed5bd9a7fc9398086aedcd7e46"
SRC_URI_append = " file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch \
file://objtool-fix-segfault-with-clang.patch \
file://x86-entry-Emit-a-symbol-for-register-restoring-thunk.patch \
"
KBRANCH = "5.10/preempt-rt"
KMETA_BRANCH = "yocto-5.10"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "5.10.1"
SRCREV_machine ?= "7cc9ab35ca5c12de2484deeb2ffe0ebc063e409a"
SRCREV_meta ?= "47c7a3148a4d7653cec536ba202b25148d1952ad"
LINUX_KERNEL_TYPE = "preempt-rt"