generic-poky/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb

37 lines
1.4 KiB
BlitzBasic
Raw Normal View History

KBRANCH ?= "standard/preempt-rt/base"
require recipes-kernel/linux/linux-yocto.inc
linux-yocto-rt, core-image-rt*: Explicitly skip when PREFERRED_PROVIDER_virtual/kernel isn't set to linux-yocto-rt * just like linux-yocto-dev is doing * fixes following errors in world builds: ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt-sdk.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt-sdk' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt-sdk', 'linux-yocto-rt'] ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt', 'linux-yocto-rt'] (From OE-Core rev: 048c901fc32a1fd9a6c4b6f68f618101dfdf94ad) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-29 17:46:09 +00:00
# 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") != "linux-yocto-rt":
linux-yocto-rt, core-image-rt*: Explicitly skip when PREFERRED_PROVIDER_virtual/kernel isn't set to linux-yocto-rt * just like linux-yocto-dev is doing * fixes following errors in world builds: ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt-sdk.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt-sdk' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt-sdk', 'linux-yocto-rt'] ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt', 'linux-yocto-rt'] (From OE-Core rev: 048c901fc32a1fd9a6c4b6f68f618101dfdf94ad) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-29 17:46:09 +00:00
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
}
SRCREV_machine ?= "1e691db7af642fff0222a1f1d1e9043c172699d5"
linux-yocto/4.4: update to v4.4.87 Integrating the -stable update with the following commits: 573b59e17e37 Linux 4.4.87 d95827490c39 crypto: algif_skcipher - only call put_page on referenced and used pages ab3ee6b53d67 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove() 628212c89fae kvm: arm/arm64: Force reading uncached stage2 PGD 57ff696f54b5 kvm: arm/arm64: Fix race in resetting stage2 PGD 94183009ac0e drm/ttm: Fix accounting error when fail to get pages for pool 9b3dcc98d8df xfrm: policy: check policy direction value c0c2e7567a34 wl1251: add a missing spin_lock_init() 5f08f0aebf70 CIFS: remove endian related sparse warning e596cc1454d4 CIFS: Fix maximum SMB2 header size 6cdda3497db8 alpha: uapi: Add support for __SANE_USERSPACE_TYPES__ ed48d9230e30 cpuset: Fix incorrect memory_pressure control file mapping 15e94ec4ec21 cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs 857d0b3dd756 ceph: fix readpage from fscache 043ccc9781cc i2c: ismt: Return EMSGSIZE for block reads with bogus length fab3229af4e5 i2c: ismt: Don't duplicate the receive length for block reads e119fc492de9 irqchip: mips-gic: SYNC after enabling GIC region cd99a4f3f43b Linux 4.4.86 c81c4d453edf drm/i915: fix compiler warning in drivers/gpu/drm/i915/intel_uncore.c b7571624fe98 scsi: sg: reset 'res_in_use' after unlinking reserved array a4075bbb67b9 scsi: sg: protect accesses to 'reserved' page array 823086b057aa arm64: fpsimd: Prevent registers leaking across exec 218720fe5939 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl a7a074f3a4d5 arm64: mm: abort uaccess retries upon fatal signal da981044d049 lpfc: Fix Device discovery failures during switch reboot test. 389328ea1379 p54: memset(0) whole array 5acdbe667cf4 lightnvm: initialize ppa_addr in dev_to_generic_addr() d255fffdb532 gcov: support GCC 7.1 2f3e97a814c8 gcov: add support for gcc version >= 6 41685ae5cd7b i2c: jz4780: drop superfluous init 05429bbfd726 btrfs: remove duplicate const specifier 9a64425945a0 ALSA: au88x0: Fix zero clear of stream->resources da8477a6695a scsi: isci: avoid array subscript warning (From OE-Core rev: 6b06a7ae93d7d98c03e7e924a434463a4337e47b) (From OE-Core rev: fd7b5e308d17f92ea24b6eb17631327a4e9eec9f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14 13:46:57 +00:00
SRCREV_meta ?= "804d2b3164ec25ed519fd695de9aa0908460c92e"
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-yocto/4.4: update to v4.4.87 Integrating the -stable update with the following commits: 573b59e17e37 Linux 4.4.87 d95827490c39 crypto: algif_skcipher - only call put_page on referenced and used pages ab3ee6b53d67 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove() 628212c89fae kvm: arm/arm64: Force reading uncached stage2 PGD 57ff696f54b5 kvm: arm/arm64: Fix race in resetting stage2 PGD 94183009ac0e drm/ttm: Fix accounting error when fail to get pages for pool 9b3dcc98d8df xfrm: policy: check policy direction value c0c2e7567a34 wl1251: add a missing spin_lock_init() 5f08f0aebf70 CIFS: remove endian related sparse warning e596cc1454d4 CIFS: Fix maximum SMB2 header size 6cdda3497db8 alpha: uapi: Add support for __SANE_USERSPACE_TYPES__ ed48d9230e30 cpuset: Fix incorrect memory_pressure control file mapping 15e94ec4ec21 cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs 857d0b3dd756 ceph: fix readpage from fscache 043ccc9781cc i2c: ismt: Return EMSGSIZE for block reads with bogus length fab3229af4e5 i2c: ismt: Don't duplicate the receive length for block reads e119fc492de9 irqchip: mips-gic: SYNC after enabling GIC region cd99a4f3f43b Linux 4.4.86 c81c4d453edf drm/i915: fix compiler warning in drivers/gpu/drm/i915/intel_uncore.c b7571624fe98 scsi: sg: reset 'res_in_use' after unlinking reserved array a4075bbb67b9 scsi: sg: protect accesses to 'reserved' page array 823086b057aa arm64: fpsimd: Prevent registers leaking across exec 218720fe5939 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl a7a074f3a4d5 arm64: mm: abort uaccess retries upon fatal signal da981044d049 lpfc: Fix Device discovery failures during switch reboot test. 389328ea1379 p54: memset(0) whole array 5acdbe667cf4 lightnvm: initialize ppa_addr in dev_to_generic_addr() d255fffdb532 gcov: support GCC 7.1 2f3e97a814c8 gcov: add support for gcc version >= 6 41685ae5cd7b i2c: jz4780: drop superfluous init 05429bbfd726 btrfs: remove duplicate const specifier 9a64425945a0 ALSA: au88x0: Fix zero clear of stream->resources da8477a6695a scsi: isci: avoid array subscript warning (From OE-Core rev: 6b06a7ae93d7d98c03e7e924a434463a4337e47b) (From OE-Core rev: fd7b5e308d17f92ea24b6eb17631327a4e9eec9f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14 13:46:57 +00:00
LINUX_VERSION ?= "4.4.87"
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"