diff options
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 34bfaeb960..c9e8dd6241 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc | |||
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \ | |||
9 | --with-build-sysroot=${STAGING_DIR_TARGET}" | 9 | --with-build-sysroot=${STAGING_DIR_TARGET}" |
10 | 10 | ||
11 | RUNTIMETARGET = "libssp libstdc++-v3" | 11 | RUNTIMETARGET = "libssp libstdc++-v3" |
12 | RUNTIMETARGET_append_powerpc = " libgomp" | ||
13 | RUNTIMETARGET_append_powerpc64 = " libgomp" | ||
12 | # ? | 14 | # ? |
13 | # libiberty | 15 | # libiberty |
14 | # libmudflap | 16 | # libmudflap |
@@ -36,6 +38,11 @@ do_install () { | |||
36 | for d in ${RUNTIMETARGET}; do | 38 | for d in ${RUNTIMETARGET}; do |
37 | cd ${B}/$d/ | 39 | cd ${B}/$d/ |
38 | oe_runmake 'DESTDIR=${D}' install | 40 | oe_runmake 'DESTDIR=${D}' install |
41 | if [ "$d" = "libgomp" ]; then | ||
42 | rm -rf ${D}${datadir}/info/libgomp.info ${D}${datadir}/info/dir | ||
43 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude | ||
44 | rmdir --ignore-fail-on-non-empty -p ${D}${datadir}/info | ||
45 | fi | ||
39 | done | 46 | done |
40 | chown -R root:root ${D} | 47 | chown -R root:root ${D} |
41 | } | 48 | } |