summaryrefslogtreecommitdiff
path: root/binutils/binutils-cross_2.14.90.0.8.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-02-20 23:35:21 +0000
committerChris Larson <clarson@kergoth.com>2004-02-20 23:35:21 +0000
commita69d50f45b7fc386147d619e76b6953687f34316 (patch)
treecbfd5ddb57bb6240a319178fa4c93ddda19b393f /binutils/binutils-cross_2.14.90.0.8.oe
parent0ae3bf166eed9448145c83643729d13a36d80419 (diff)
Merge openembedded@openembedded.bkbits.net:packages
into direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages 2004/02/20 17:34:57-06:00 ti.com!kergoth Glibc toolchain build updates: Gcc 3.3.3. Kernel-headers 2.4.25 instead of 2.4.21. Install them into include rather than sys-include. Tweaking some configure options all around based on comments in crosstool. BKrev: 403699b93isV6v6AhTg1skp2YYom8Q
Diffstat (limited to 'binutils/binutils-cross_2.14.90.0.8.oe')
-rw-r--r--binutils/binutils-cross_2.14.90.0.8.oe33
1 files changed, 33 insertions, 0 deletions
diff --git a/binutils/binutils-cross_2.14.90.0.8.oe b/binutils/binutils-cross_2.14.90.0.8.oe
index e69de29bb2..dd1aa7622d 100644
--- a/binutils/binutils-cross_2.14.90.0.8.oe
+++ b/binutils/binutils-cross_2.14.90.0.8.oe
@@ -0,0 +1,33 @@
+include binutils_${PV}.oe
+inherit cross
+PROVIDES = virtual/${TARGET_PREFIX}binutils
+DEPENDS = patcher
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+PACKAGES =
+EXTRA_OECONF = '--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+ --disable-nls \
+ --program-prefix=${TARGET_PREFIX}'
+
+do_stage () {
+ oe_runmake install
+
+ # We don't really need these, so we'll remove them...
+ rm -rf ${CROSS_DIR}/lib/ldscripts
+ rm -rf ${CROSS_DIR}/share/info
+ rm -rf ${CROSS_DIR}/share/locale
+ rm -rf ${CROSS_DIR}/share/man
+ rmdir ${CROSS_DIR}/share || :
+ rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
+ rmdir ${CROSS_DIR}/${libdir} || :
+ rmdir ${CROSS_DIR}/${prefix} || :
+
+ # We want to move this into the target specific location
+ mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
+ mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+ rmdir ${CROSS_DIR}/lib || :
+}
+
+do_install () {
+ :
+}
+