mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
libgomp: add libgomp (openmp) library, and build for powerpc targets by default
(From OE-Core rev: b76a7bc8dcb7aed7d6f026e77a226837004c50af) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b424a3a31b
commit
6382732a75
@@ -8,6 +8,8 @@ EXTRA_OECONF_PATHS = " \
|
||||
--with-build-sysroot=${STAGING_DIR_TARGET}"
|
||||
|
||||
RUNTIMETARGET = "libssp libstdc++-v3"
|
||||
RUNTIMETARGET_append_powerpc = " libgomp"
|
||||
RUNTIMETARGET_append_powerpc64 = " libgomp"
|
||||
# ?
|
||||
# libiberty
|
||||
# libmudflap
|
||||
@@ -41,6 +43,11 @@ do_install () {
|
||||
for d in ${RUNTIMETARGET}; do
|
||||
cd ${B}/$target/$d/
|
||||
oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install
|
||||
if [ "$d" = "libgomp" ]; then
|
||||
rm -rf ${D}${datadir}/info/libgomp.info ${D}${datadir}/info/dir
|
||||
rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude
|
||||
rmdir --ignore-fail-on-non-empty -p ${D}${datadir}/info
|
||||
fi
|
||||
done
|
||||
chown -R root:root ${D}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user