mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user