summaryrefslogtreecommitdiff
path: root/gcc/gcc-uclibc-cross_3.3.2.oe
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2003-12-05 06:54:57 +0000
committerGerald Britton <gbritton@doomcom.org>2003-12-05 06:54:57 +0000
commit367362d3ec726a2ff566a6c72702acc8c0f07672 (patch)
tree8a13c73665a75c77629b9decaaf30d827396a9e9 /gcc/gcc-uclibc-cross_3.3.2.oe
parentb9410067120c8f737ba35f886734d707116611e4 (diff)
Merge openembedded@openembedded.bkbits.net:packages
into doomcom.org:/home/gbritton/devel/OE/packages 2003/12/05 01:54:33-05:00 doomcom.org!gbritton big toolchain cleanup, mostly uclibc BKrev: 3fd02bc16TXaLTReYe_27R0jRFcAcw
Diffstat (limited to 'gcc/gcc-uclibc-cross_3.3.2.oe')
-rw-r--r--gcc/gcc-uclibc-cross_3.3.2.oe33
1 files changed, 22 insertions, 11 deletions
diff --git a/gcc/gcc-uclibc-cross_3.3.2.oe b/gcc/gcc-uclibc-cross_3.3.2.oe
index 2c215c380d..1ba6237a66 100644
--- a/gcc/gcc-uclibc-cross_3.3.2.oe
+++ b/gcc/gcc-uclibc-cross_3.3.2.oe
@@ -1,14 +1,12 @@
inherit cross
include gcc-uclibc_${PV}.oe
-DEPENDS := virtual/${TARGET_PREFIX}binutils \
- virtual/uclibc virtual/uclibc-headers patcher
-PROVIDES := virtual/${TARGET_PREFIX}gcc \
- virtual/${TARGET_PREFIX}g++
+DEPENDS := virtual/${TARGET_PREFIX}binutils uclibc patcher
+PROVIDES := virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++
PACKAGES =
-EXTRA_OECONF := --with-local-prefix=${CROSS_DIR}/usr/local \
+EXTRA_OECONF := --with-local-prefix=${CROSS_DIR}/local \
--with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \
--enable-target-optspace \
--disable-nls \
@@ -43,20 +41,33 @@ do_compile_prepend () {
}
do_stage_append () {
-# # Cleanup after gcc's --program-prefix failing..
-# ( cd ${CROSS_DIR}/bin ; for p in ${TARGET_SYS}-* ; do
-# mv $p `echo $p | sed -e s,${TARGET_SYS},${TARGET_ARCH}-uclibc,`
-# done )
-
- rm -f ${CROSS_DIR}/bin/gccbug ${CROSS_DIR}/bin/gcov
for d in info man share/doc share/locale ; do
rm -rf ${CROSS_DIR}/$d
done
+ # These aren't useful on the cross toolchain
+ rm -f ${CROSS_DIR}/bin/*gcov
+ rm -f ${CROSS_DIR}/bin/*gccbug
+
# Fix a few include links so cross builds are happier
if [ ! -e ${STAGING_DIR}/target/include/c++ ]; then
mkdir -p ${STAGING_DIR}/target/include
ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \
${STAGING_DIR}/target/include/
fi
+
+ # We use libiberty from binutils
+ rm -f ${CROSS_DIR}/lib/libiberty.a
+
+ # We probably don't need this
+ rmdir ${CROSS_DIR}/include || :
+
+ # We don't really need to keep this around
+ rm -rf ${CROSS_DIR}/share
+}
+
+# Kill the install so we get no packages (we're the cross compiler)
+do_install () {
+ :
}
+