summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-01-25 20:42:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-27 13:53:34 +0000
commit5298d6f6ff0cc57d2daf56585458ba3c519523cb (patch)
treef2089c8be37f490a1561bc00fc85f4e71c9e26c0 /meta/recipes-devtools/gcc
parente1c56ee9720014a13515493ac1d77f43ea31bfa1 (diff)
downloadpoky-5298d6f6ff0cc57d2daf56585458ba3c519523cb.tar.gz
gcc-configure-runtime: always remove info/dir
* move libgomp.info removal also outside that for cycle, can be removed outside if exists * also use infodir variable instead of ${datadir}/info (From OE-Core rev: 0b8fe539928c7a61ca01a4a0a0f54df47164ac6c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-runtime.inc8
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