mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-04 16:10:06 +00:00
Support for multiple kernel packages was implemented upstream
since commit 5b4aab6b40 ("kernel: Add support for multiple
kernel packages"). Syncronize preempt-rt recipes with the
upstream ones to allow other layes which inherit meta-intel
to build multiple kernels in one build.
More details about multiple kernels support:
http://lists.openembedded.org/pipermail/openembedded-core/2017-October/143535.html
Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
25 lines
974 B
BlitzBasic
25 lines
974 B
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")
|
|
}
|
|
|
|
KBRANCH = "4.14/preempt-rt"
|
|
KMETA_BRANCH = "yocto-4.14"
|
|
|
|
# Fix for 32-bit perf issue. Remove when patch is backported to 4.14.
|
|
SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch"
|
|
|
|
DEPENDS += "elfutils-native openssl-native util-linux-native"
|
|
|
|
LINUX_VERSION ?= "4.14.139"
|
|
SRCREV_machine ?= "3709d576bddc7bb30411577d769a5eea24e7acf8"
|
|
SRCREV_meta ?= "bc35d5bd224ab031440a69f9806d839db382f05c"
|
|
|
|
LINUX_KERNEL_TYPE = "preempt-rt"
|