[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4903/8267] gcc-runtime: Add libmpx supprt for x86
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4903/8267] gcc-runtime: Add libmpx supprt for x86
- Date: Sun, 17 Dec 2017 02:41:21 +0000 (UTC)
commit 977047fb997aa243b86dc23f057c0d098cbdc158
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Fri Feb 24 10:48:18 2017 -0800
gcc-runtime: Add libmpx supprt for x86
Enabling building the Intel Memory Protection Extension library for x86.
Leave this disabled in musl builds as it doesn't build there yet.
(From OE-Core rev: 4b144b55acbd43b38d92d29829d8ec68ff372e9d)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-devtools/gcc/gcc-runtime.inc | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 745cf74..ec8f4a4 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -24,8 +24,9 @@ RUNTIMELIBITM_microblaze = ""
RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \
${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \
"
+RUNTIMETARGET_append_x86 = " libmpx"
+RUNTIMETARGET_remove_libc-musl = "libmpx"
-# ?
# libiberty
# libmudflap
# libgfortran needs separate recipe due to libquadmath dependency
@@ -139,6 +140,11 @@ PACKAGES = "\
libitm-dev \
libitm-staticdev \
"
+PACKAGES_append_x86 = "\
+ libmpx \
+ libmpx-dev \
+ libmpx-staticdev \
+"
# The base package doesn't exist, so we clear the recommends.
RRECOMMENDS_${PN}-dbg = ""
@@ -243,6 +249,19 @@ SUMMARY_libitm-dev = "GNU transactional memory support library - development fil
FILES_libitm-staticdev = "${libdir}/libitm.a"
SUMMARY_libitm-staticdev = "GNU transactional memory support library - static development files"
+
+FILES_libmpx = "${libdir}/libmpx.so.* ${libdir}/libmpxwrappers.so.*"
+SUMMARY_libmpx = "Intel Memory Protection Extension library"
+FILES_libmpx-dev = "\
+ ${libdir}/libmpxwrappers.so \
+ ${libdir}/libmpx.so \
+ ${libdir}/libmpx.la \
+ ${libdir}/libmpx.spec \
+"
+SUMMARY_libmpx-dev = "Intel Memory Protection Extension library - development files"
+FILES_libmpx-staticdev = "${libdir}/libmpx.a ${libdir}/libmpxwrappers.a"
+SUMMARY_libmpx-staticdev = "Intel Memory Protection Extension library - static development files"
+
do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]