From 5428c35c8a6560f320692c84816c860cb07ecb74 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Mon, 3 May 2004 15:07:19 +0000 Subject: inhibit bad strip calls in gcc-*cross lib packaging BKrev: 40966027g3ULeMH5YQMa_vW8R6WPNg --- gcc/gcc-cross_3.3.2.oe | 1 + gcc/gcc-cross_3.3.3.oe | 1 + gcc/gcc-cross_3.4.0.oe | 7 +++++++ gcc/gcc-uclibc-cross_3.3.2.oe | 1 + gcc/gcc-uclibc-cross_3.3.3.oe | 1 + gcc/gcc-uclibc-cross_3.4.0.oe | 7 +++++++ 6 files changed, 18 insertions(+) (limited to 'gcc') diff --git a/gcc/gcc-cross_3.3.2.oe b/gcc/gcc-cross_3.3.2.oe index 1e59605e55..dce9ef4482 100644 --- a/gcc/gcc-cross_3.3.2.oe +++ b/gcc/gcc-cross_3.3.2.oe @@ -6,6 +6,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils glibc patcher-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" PACKAGES = "" +INHIBIT_PACKAGE_STRIP = 1 EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \ --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \ diff --git a/gcc/gcc-cross_3.3.3.oe b/gcc/gcc-cross_3.3.3.oe index 5c597829b9..fdf9292ac4 100644 --- a/gcc/gcc-cross_3.3.3.oe +++ b/gcc/gcc-cross_3.3.3.oe @@ -6,6 +6,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils glibc patcher-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" PACKAGES = "libgcc" +INHIBIT_PACKAGE_STRIP = 1 EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \ --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \ diff --git a/gcc/gcc-cross_3.4.0.oe b/gcc/gcc-cross_3.4.0.oe index 11e30117f0..5df5ec6aca 100644 --- a/gcc/gcc-cross_3.4.0.oe +++ b/gcc/gcc-cross_3.4.0.oe @@ -7,6 +7,7 @@ PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" # Files for these are defined in the main gcc.oe PACKAGES = "libgcc libstdc++ libg2c" +INHIBIT_PACKAGE_STRIP = 1 EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \ --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \ @@ -90,5 +91,11 @@ do_install () { mkdir -p ${D}/${TGT_LIBDIR} mv -f ${D}/${prefix}/*/lib/libstdc++.so.* ${D}/${TGT_LIBDIR} mv -f ${D}/${prefix}/*/lib/libg2c.so.* ${D}/${TGT_LIBDIR} + + # Manually run the target stripper since we won't get it run by + # the packaging. + ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libstdc++.so.* + ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libg2c.so.* + ${TARGET_PREFIX}strip ${D}/libgcc_s.so.* } diff --git a/gcc/gcc-uclibc-cross_3.3.2.oe b/gcc/gcc-uclibc-cross_3.3.2.oe index b84a22316c..3419f50416 100644 --- a/gcc/gcc-uclibc-cross_3.3.2.oe +++ b/gcc/gcc-uclibc-cross_3.3.2.oe @@ -5,6 +5,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils uclibc patcher-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" PACKAGES = "" +INHIBIT_PACKAGE_STRIP = 1 EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/local \ --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \ diff --git a/gcc/gcc-uclibc-cross_3.3.3.oe b/gcc/gcc-uclibc-cross_3.3.3.oe index 2bd9be1be9..5e4ee702f1 100644 --- a/gcc/gcc-uclibc-cross_3.3.3.oe +++ b/gcc/gcc-uclibc-cross_3.3.3.oe @@ -5,6 +5,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils uclibc patcher-native" PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" PACKAGES = "" +INHIBIT_PACKAGE_STRIP = 1 EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/local \ --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \ diff --git a/gcc/gcc-uclibc-cross_3.4.0.oe b/gcc/gcc-uclibc-cross_3.4.0.oe index e71df2533b..125fa8782d 100644 --- a/gcc/gcc-uclibc-cross_3.4.0.oe +++ b/gcc/gcc-uclibc-cross_3.4.0.oe @@ -6,6 +6,7 @@ PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" # Files for these are defined in the main gcc.oe PACKAGES = "libgcc libstdc++ libg2c" +INHIBIT_PACKAGE_STRIP = 1 EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/local \ --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \ @@ -82,5 +83,11 @@ do_install () { mkdir -p ${D}/${TGT_LIBDIR} mv -f ${D}/${prefix}/*/lib/libstdc++.so.* ${D}/${TGT_LIBDIR} mv -f ${D}/${prefix}/*/lib/libg2c.so.* ${D}/${TGT_LIBDIR} + + # Manually run the target stripper since we won't get it run by + # the packaging. + ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libstdc++.so.* + ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libg2c.so.* + ${TARGET_PREFIX}strip ${D}/libgcc_s.so.* } -- cgit v1.2.3