summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-07-10 16:12:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-11 11:35:16 +0100
commitb76a7bc8dcb7aed7d6f026e77a226837004c50af (patch)
tree258b9b6b37c7ba928578d535ad5afd11269bbfd4 /meta/recipes-devtools/gcc/gcc-configure-runtime.inc
parent1b428f0151a5b86332b501871bf4a925b43580a5 (diff)
downloadopenembedded-core-b76a7bc8dcb7aed7d6f026e77a226837004c50af.tar.gz
openembedded-core-b76a7bc8dcb7aed7d6f026e77a226837004c50af.tar.bz2
openembedded-core-b76a7bc8dcb7aed7d6f026e77a226837004c50af.zip
libgomp: add libgomp (openmp) library, and build for powerpc targets by default
Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-runtime.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-runtime.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
index 095d6c16d2..d40383cea5 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
@@ -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}
}