summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc-cross_3.3.2.oe1
-rw-r--r--gcc/gcc-cross_3.3.3.oe1
-rw-r--r--gcc/gcc-cross_3.4.0.oe7
-rw-r--r--gcc/gcc-uclibc-cross_3.3.2.oe1
-rw-r--r--gcc/gcc-uclibc-cross_3.3.3.oe1
-rw-r--r--gcc/gcc-uclibc-cross_3.4.0.oe7
6 files changed, 18 insertions, 0 deletions
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.*
}