summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dragomir <Daniel.Dragomir@windriver.com>2019-10-21 11:37:02 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2019-10-22 00:52:48 (GMT)
commita930f946b915624dcc02358725d235b3224fb61b (patch)
treeeb07042f03fbb9898e9341a800ddf8a986358426
parentb6d380461faeb49ed6f4f56d76a9e116957a8b81 (diff)
downloadmeta-intel-thud.tar.gz
linux-intel-rt: Allow the build of multiple kernel packagesthud
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>
-rw-r--r--recipes-kernel/linux/linux-intel-rt_4.14.bb2
-rw-r--r--recipes-kernel/linux/linux-intel-rt_4.19.bb2
-rw-r--r--recipes-kernel/linux/linux-intel-rt_4.9.bb2
3 files changed, 3 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-intel-rt_4.14.bb b/recipes-kernel/linux/linux-intel-rt_4.14.bb
index 552f780..6967ec2 100644
--- a/recipes-kernel/linux/linux-intel-rt_4.14.bb
+++ b/recipes-kernel/linux/linux-intel-rt_4.14.bb
@@ -5,7 +5,7 @@ require linux-intel.inc
5# to build multiple virtual/kernel providers, e.g. as dependency of 5# to build multiple virtual/kernel providers, e.g. as dependency of
6# core-image-rt-sdk, core-image-rt. 6# core-image-rt-sdk, core-image-rt.
7python () { 7python () {
8 if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt": 8 if d.getVar("KERNEL_PACKAGE_NAME", True) == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt":
9 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") 9 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
10} 10}
11 11
diff --git a/recipes-kernel/linux/linux-intel-rt_4.19.bb b/recipes-kernel/linux/linux-intel-rt_4.19.bb
index a7e272e..edf32af 100644
--- a/recipes-kernel/linux/linux-intel-rt_4.19.bb
+++ b/recipes-kernel/linux/linux-intel-rt_4.19.bb
@@ -5,7 +5,7 @@ require linux-intel.inc
5# to build multiple virtual/kernel providers, e.g. as dependency of 5# to build multiple virtual/kernel providers, e.g. as dependency of
6# core-image-rt-sdk, core-image-rt. 6# core-image-rt-sdk, core-image-rt.
7python () { 7python () {
8 if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt": 8 if d.getVar("KERNEL_PACKAGE_NAME", True) == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt":
9 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") 9 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
10} 10}
11 11
diff --git a/recipes-kernel/linux/linux-intel-rt_4.9.bb b/recipes-kernel/linux/linux-intel-rt_4.9.bb
index fd82cfa..8f51c08 100644
--- a/recipes-kernel/linux/linux-intel-rt_4.9.bb
+++ b/recipes-kernel/linux/linux-intel-rt_4.9.bb
@@ -6,7 +6,7 @@ require linux-intel.inc
6# to build multiple virtual/kernel providers, e.g. as dependency of 6# to build multiple virtual/kernel providers, e.g. as dependency of
7# core-image-rt-sdk, core-image-rt. 7# core-image-rt-sdk, core-image-rt.
8python () { 8python () {
9 if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt": 9 if d.getVar("KERNEL_PACKAGE_NAME", True) == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt":
10 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") 10 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
11} 11}
12 12