diff options
author | Matthew McClintock <msm@freescale.com> | 2012-07-10 16:12:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 11:35:53 +0100 |
commit | 6382732a7516c67cb1a3e3e438b06f4fc43efa4e (patch) | |
tree | 63e09152ac8a7a6a0e00ff4aeb347876ace24924 /meta/recipes-devtools/gcc/gcc-configure-runtime.inc | |
parent | b424a3a31bb71d773a0225917e95e09fde8fec8c (diff) | |
download | poky-6382732a7516c67cb1a3e3e438b06f4fc43efa4e.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-runtime.inc | 7 |
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 = " \ | |||
8 | --with-build-sysroot=${STAGING_DIR_TARGET}" | 8 | --with-build-sysroot=${STAGING_DIR_TARGET}" |
9 | 9 | ||
10 | RUNTIMETARGET = "libssp libstdc++-v3" | 10 | RUNTIMETARGET = "libssp libstdc++-v3" |
11 | RUNTIMETARGET_append_powerpc = " libgomp" | ||
12 | RUNTIMETARGET_append_powerpc64 = " libgomp" | ||
11 | # ? | 13 | # ? |
12 | # libiberty | 14 | # libiberty |
13 | # libmudflap | 15 | # libmudflap |
@@ -41,6 +43,11 @@ do_install () { | |||
41 | for d in ${RUNTIMETARGET}; do | 43 | for d in ${RUNTIMETARGET}; do |
42 | cd ${B}/$target/$d/ | 44 | cd ${B}/$target/$d/ |
43 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install | 45 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install |
46 | if [ "$d" = "libgomp" ]; then | ||
47 | rm -rf ${D}${datadir}/info/libgomp.info ${D}${datadir}/info/dir | ||
48 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude | ||
49 | rmdir --ignore-fail-on-non-empty -p ${D}${datadir}/info | ||
50 | fi | ||
44 | done | 51 | done |
45 | chown -R root:root ${D} | 52 | chown -R root:root ${D} |
46 | } | 53 | } |