From cdaf6c804b703d58839e449041b12f698cb5ebbe Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 29 Mar 2010 22:27:13 +0100 Subject: gcc-runtime: Add initial recipe Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-package-sdk.inc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'meta/packages/gcc/gcc-package-sdk.inc') diff --git a/meta/packages/gcc/gcc-package-sdk.inc b/meta/packages/gcc/gcc-package-sdk.inc index 0e66772d10..cdce1da1c7 100644 --- a/meta/packages/gcc/gcc-package-sdk.inc +++ b/meta/packages/gcc/gcc-package-sdk.inc @@ -1,5 +1,3 @@ -INHIBIT_PACKAGE_STRIP ?= "" -OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" INHIBIT_PACKAGE_STRIP = "1" # Having anything auto depending on gcc-cross-sdk is a really bad idea... @@ -30,7 +28,7 @@ FILES_${PN}-doc = "\ " do_install () { - oe_runmake 'DESTDIR=${D}' install + oe_runmake 'DESTDIR=${D}' install-host # Cleanup some of the ${libdir}{,exec}/gcc stuff ... rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools @@ -52,13 +50,5 @@ do_install () { ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" done ln -sf "${bindir}/${TARGET_PREFIX}gcc" "${D}${prefix}/${TARGET_SYS}/bin/cc" - - # Manually run the target stripper since we won't get it run by - # the packaging. - if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then - ${TARGET_PREFIX}strip ${D}${prefix}/${TARGET_SYS}/lib/libstdc++.so.* - ${TARGET_PREFIX}strip ${D}${prefix}/${TARGET_SYS}/lib/libg2c.so.* || true - ${TARGET_PREFIX}strip ${D}${prefix}/${TARGET_SYS}/lib/libgcc_s.so.* - fi } -- cgit v1.2.3