From a69d50f45b7fc386147d619e76b6953687f34316 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 20 Feb 2004 23:35:21 +0000 Subject: 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 --- binutils/binutils-cross_2.14.90.0.8.oe | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'binutils/binutils-cross_2.14.90.0.8.oe') 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 () { + : +} + -- cgit v1.2.3