<div dir="ltr">I'm not sure if this is caused by linux-yocto upgrade or lttng upgrade, but without openssl-dev installed on the host I'm seeing following failures on ubuntu builders:<div><br></div><div>oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb:do_make_scripts) failed with exit code '1'<br></div><div><br></div><div><div>work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory</div><div>| #include <openssl/bio.h></div><div>| ^</div><div>| compilation terminated.</div><div>| make[2]: *** [scripts/extract-cert] Error 1</div><div>| make[1]: *** [scripts] Error 2</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 5:21 PM, Bruce Ashfield <span dir="ltr"><<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This commit makes the 4.15 kernel available for use with the<br>
Yocto configuration fragments and qemu* BSPs.<br>
<br>
It has been tested for x86,arm,mips and powerpc against the lsb, core*<br>
and glibc/mulsc test matrix.<br>
<br>
This will serve as the "latest" kernel in master, with others being<br>
removed in subsequent commits.<br>
<br>
Signed-off-by: Bruce Ashfield <<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>><br>
---<br>
meta/recipes-kernel/linux/<a href="http://linux-yocto-rt_4.15.bb" rel="noreferrer" target="_blank">linu<wbr>x-yocto-rt_4.15.bb</a> | 38 +++++++++++++++++<br>
meta/recipes-kernel/linux/<wbr>linux-yocto-tiny_4.15.b | 25 ++++++++++++<br>
meta/recipes-kernel/linux/<a href="http://linux-yocto-tiny_4.15.bb" rel="noreferrer" target="_blank">linu<wbr>x-yocto-tiny_4.15.bb</a> | 47 ++++++++++++++++++++++<br>
meta/recipes-kernel/linux/<a href="http://linux-yocto_4.15.bb" rel="noreferrer" target="_blank">linu<wbr>x-yocto_4.15.bb</a> | 47 ++++++++++++++++++++++<br>
4 files changed, 157 insertions(+)<br>
create mode 100644 meta/recipes-kernel/linux/<a href="http://linux-yocto-rt_4.15.bb" rel="noreferrer" target="_blank">linu<wbr>x-yocto-rt_4.15.bb</a><br>
create mode 100644 meta/recipes-kernel/linux/<wbr>linux-yocto-tiny_4.15.b<br>
create mode 100644 meta/recipes-kernel/linux/<a href="http://linux-yocto-tiny_4.15.bb" rel="noreferrer" target="_blank">linu<wbr>x-yocto-tiny_4.15.bb</a><br>
create mode 100644 meta/recipes-kernel/linux/<a href="http://linux-yocto_4.15.bb" rel="noreferrer" target="_blank">linu<wbr>x-yocto_4.15.bb</a><br>
<br>
diff --git a/meta/recipes-kernel/linux/<a href="http://linux-yocto-rt_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto-rt_4.15.bb</a> b/meta/recipes-kernel/linux/<a href="http://linux-yocto-rt_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto-rt_4.15.bb</a><br>
new file mode 100644<br>
index 000000000000..31f8c23cef52<br>
--- /dev/null<br>
+++ b/meta/recipes-kernel/linux/<a href="http://linux-yocto-rt_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto-rt_4.15.bb</a><br>
@@ -0,0 +1,38 @@<br>
+KBRANCH ?= "v4.15/standard/preempt-rt/<wbr>base"<br>
+<br>
+require recipes-kernel/linux/linux-<wbr>yocto.inc<br>
+<br>
+# Skip processing of this recipe if it is not explicitly specified as the<br>
+# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying<br>
+# to build multiple virtual/kernel providers, e.g. as dependency of<br>
+# core-image-rt-sdk, core-image-rt.<br>
+python () {<br>
+ if d.getVar("KERNEL_PACKAGE_NAME"<wbr>) == "kernel" and d.getVar("PREFERRED_PROVIDER_<wbr>virtual/kernel") != "linux-yocto-rt":<br>
+ raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/<wbr>kernel to linux-yocto-rt to enable it")<br>
+}<br>
+<br>
+SRCREV_machine ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_meta ?= "<wbr>64ad69e5b4a38e678500d7a70791ac<wbr>5154c6c154"<br>
+<br>
+SRC_URI = "git://<a href="http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>linux-yocto.git;branch=${<wbr>KBRANCH};name=machine</a> \<br>
+ git://<a href="http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>yocto-kernel-cache;type=kmeta;<wbr>name=meta;branch=yocto-4.15;<wbr>destsuffix=${KMETA}</a>"<br>
+<br>
+LINUX_VERSION ?= "4.15"<br>
+<br>
+PV = "${LINUX_VERSION}+git${SRCPV}"<br>
+<br>
+KMETA = "kernel-meta"<br>
+KCONF_BSP_AUDIT_LEVEL = "2"<br>
+<br>
+LINUX_KERNEL_TYPE = "preempt-rt"<br>
+<br>
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|<wbr>qemuppc|qemumips)"<br>
+<br>
+KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"<br>
+<br>
+# Functionality flags<br>
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.<wbr>scc features/taskstats/taskstats.<wbr>scc"<br>
+KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"<br>
+KERNEL_FEATURES_append_<wbr>qemuall=" cfg/virtio.scc"<br>
+KERNEL_FEATURES_append_<wbr>qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"<br>
+KERNEL_FEATURES_append_<wbr>qemux86-64=" cfg/sound.scc"<br>
diff --git a/meta/recipes-kernel/linux/<wbr>linux-yocto-tiny_4.15.b b/meta/recipes-kernel/linux/<wbr>linux-yocto-tiny_4.15.b<br>
new file mode 100644<br>
index 000000000000..7a6696c71a68<br>
--- /dev/null<br>
+++ b/meta/recipes-kernel/linux/<wbr>linux-yocto-tiny_4.15.b<br>
@@ -0,0 +1,25 @@<br>
+KBRANCH ?= "v4.15/standard/tiny/common-<wbr>pc"<br>
+LINUX_KERNEL_TYPE = "tiny"<br>
+KCONFIG_MODE = "--allnoconfig"<br>
+<br>
+require recipes-kernel/linux/linux-<wbr>yocto.inc<br>
+<br>
+LINUX_VERSION ?= "4.15"<br>
+<br>
+KMETA = "kernel-meta"<br>
+KCONF_BSP_AUDIT_LEVEL = "2"<br>
+<br>
+SRCREV_machine ?= "<wbr>f7a6d45fff853173bfbf61706aeffc<wbr>d1d1e99467"<br>
+SRCREV_meta ?= "<wbr>ef2f5d9a0ac1c5ac60e76b18b0bb33<wbr>93be450336"<br>
+<br>
+PV = "${LINUX_VERSION}+git${SRCPV}"<br>
+<br>
+SRC_URI = "git://<a href="http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>linux-yocto.git;branch=${<wbr>KBRANCH};name=machine</a> \<br>
+ git://<a href="http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>yocto-kernel-cache;type=kmeta;<wbr>name=meta;branch=yocto-4.15;<wbr>destsuffix=${KMETA}</a>"<br>
+<br>
+COMPATIBLE_MACHINE = "qemux86|qemux86-64"<br>
+<br>
+# Functionality flags<br>
+KERNEL_FEATURES = ""<br>
+<br>
+KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"<br>
diff --git a/meta/recipes-kernel/linux/<a href="http://linux-yocto-tiny_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto-tiny_4.15.bb</a> b/meta/recipes-kernel/linux/<a href="http://linux-yocto-tiny_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto-tiny_4.15.bb</a><br>
new file mode 100644<br>
index 000000000000..60b7e600d24d<br>
--- /dev/null<br>
+++ b/meta/recipes-kernel/linux/<a href="http://linux-yocto-tiny_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto-tiny_4.15.bb</a><br>
@@ -0,0 +1,47 @@<br>
+KBRANCH ?= "v4.15/standard/base"<br>
+<br>
+require recipes-kernel/linux/linux-<wbr>yocto.inc<br>
+<br>
+# board specific branches<br>
+KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-<wbr>926ejs"<br>
+KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64"<br>
+KBRANCH_qemumips ?= "v4.15/standard/mti-malta32"<br>
+KBRANCH_qemuppc ?= "v4.15/standard/qemuppc"<br>
+KBRANCH_qemux86 ?= "v4.15/standard/base"<br>
+KBRANCH_qemux86-64 ?= "v4.15/standard/base"<br>
+KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64"<br>
+<br>
+SRCREV_machine_qemuarm ?= "<wbr>5fdc3d579c5f50fbaaa5faecae79e2<wbr>0b73810346"<br>
+SRCREV_machine_qemuarm64 ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemumips ?= "<wbr>5afbe5a7e271f1c115a7c77bea4a71<wbr>356c6f2792"<br>
+SRCREV_machine_qemuppc ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemux86 ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemux86-64 ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemumips64 ?= "<wbr>f9a3a72209bde080e4ecb4fbe7a0f9<wbr>9954643131"<br>
+SRCREV_machine ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_meta ?= "<wbr>64ad69e5b4a38e678500d7a70791ac<wbr>5154c6c154"<br>
+<br>
+SRC_URI = "git://<a href="http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>linux-yocto.git;name=machine;<wbr>branch=${KBRANCH}</a>; \<br>
+ git://<a href="http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>yocto-kernel-cache;type=kmeta;<wbr>name=meta;branch=yocto-4.15;<wbr>destsuffix=${KMETA}</a>"<br>
+<br>
+LINUX_VERSION ?= "4.15"<br>
+<br>
+DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"<br>
+DEPENDS += "openssl-native util-linux-native"<br>
+<br>
+PV = "${LINUX_VERSION}+git${SRCPV}"<br>
+<br>
+KMETA = "kernel-meta"<br>
+KCONF_BSP_AUDIT_LEVEL = "2"<br>
+<br>
+KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"<br>
+<br>
+COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|<wbr>qemuppc|qemumips|qemumips64|<wbr>qemux86-64"<br>
+<br>
+# Functionality flags<br>
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.<wbr>scc"<br>
+KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"<br>
+KERNEL_FEATURES_append_<wbr>qemuall=" cfg/virtio.scc"<br>
+KERNEL_FEATURES_append_<wbr>qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"<br>
+KERNEL_FEATURES_append_<wbr>qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"<br>
+KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_<wbr>FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"<br>
diff --git a/meta/recipes-kernel/linux/<a href="http://linux-yocto_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto_4.15.bb</a> b/meta/recipes-kernel/linux/<a href="http://linux-yocto_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto_4.15.bb</a><br>
new file mode 100644<br>
index 000000000000..60b7e600d24d<br>
--- /dev/null<br>
+++ b/meta/recipes-kernel/linux/<a href="http://linux-yocto_4.15.bb" rel="noreferrer" target="_blank">li<wbr>nux-yocto_4.15.bb</a><br>
@@ -0,0 +1,47 @@<br>
+KBRANCH ?= "v4.15/standard/base"<br>
+<br>
+require recipes-kernel/linux/linux-<wbr>yocto.inc<br>
+<br>
+# board specific branches<br>
+KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-<wbr>926ejs"<br>
+KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64"<br>
+KBRANCH_qemumips ?= "v4.15/standard/mti-malta32"<br>
+KBRANCH_qemuppc ?= "v4.15/standard/qemuppc"<br>
+KBRANCH_qemux86 ?= "v4.15/standard/base"<br>
+KBRANCH_qemux86-64 ?= "v4.15/standard/base"<br>
+KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64"<br>
+<br>
+SRCREV_machine_qemuarm ?= "<wbr>5fdc3d579c5f50fbaaa5faecae79e2<wbr>0b73810346"<br>
+SRCREV_machine_qemuarm64 ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemumips ?= "<wbr>5afbe5a7e271f1c115a7c77bea4a71<wbr>356c6f2792"<br>
+SRCREV_machine_qemuppc ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemux86 ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemux86-64 ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_machine_qemumips64 ?= "<wbr>f9a3a72209bde080e4ecb4fbe7a0f9<wbr>9954643131"<br>
+SRCREV_machine ?= "<wbr>9c2e6c0fc71526c45fc7ddf3ec91e2<wbr>e2f27e3da0"<br>
+SRCREV_meta ?= "<wbr>64ad69e5b4a38e678500d7a70791ac<wbr>5154c6c154"<br>
+<br>
+SRC_URI = "git://<a href="http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>linux-yocto.git;name=machine;<wbr>branch=${KBRANCH}</a>; \<br>
+ git://<a href="http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>yocto-kernel-cache;type=kmeta;<wbr>name=meta;branch=yocto-4.15;<wbr>destsuffix=${KMETA}</a>"<br>
+<br>
+LINUX_VERSION ?= "4.15"<br>
+<br>
+DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"<br>
+DEPENDS += "openssl-native util-linux-native"<br>
+<br>
+PV = "${LINUX_VERSION}+git${SRCPV}"<br>
+<br>
+KMETA = "kernel-meta"<br>
+KCONF_BSP_AUDIT_LEVEL = "2"<br>
+<br>
+KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"<br>
+<br>
+COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|<wbr>qemuppc|qemumips|qemumips64|<wbr>qemux86-64"<br>
+<br>
+# Functionality flags<br>
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.<wbr>scc"<br>
+KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"<br>
+KERNEL_FEATURES_append_<wbr>qemuall=" cfg/virtio.scc"<br>
+KERNEL_FEATURES_append_<wbr>qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"<br>
+KERNEL_FEATURES_append_<wbr>qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"<br>
+KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_<wbr>FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.5.0<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>