diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-runtime.inc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc index 1c9155fdb9..a9f77d9b64 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc | |||
@@ -41,12 +41,10 @@ do_install () { | |||
41 | for d in ${RUNTIMETARGET}; do | 41 | for d in ${RUNTIMETARGET}; do |
42 | cd ${B}/$target/$d/ | 42 | cd ${B}/$target/$d/ |
43 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install | 43 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install |
44 | if [ "$d" = "libgomp" ]; then | ||
45 | rm -rf ${D}${datadir}/info/libgomp.info ${D}${datadir}/info/dir | ||
46 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude | ||
47 | rmdir --ignore-fail-on-non-empty -p ${D}${datadir}/info | ||
48 | fi | ||
49 | done | 44 | done |
45 | rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir | ||
46 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude | ||
47 | rmdir --ignore-fail-on-non-empty -p ${D}${infodir} | ||
50 | chown -R root:root ${D} | 48 | chown -R root:root ${D} |
51 | } | 49 | } |
52 | 50 | ||