diff options
author | Matthias Hentges <oe@hentges.net> | 2004-10-11 16:36:01 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2004-10-11 16:36:01 +0000 |
commit | bd068236207dee9373f5d559c88325de3446d53b (patch) | |
tree | bea490798b7aec80d96272f621898b8cb8c82efe /binutils/binutils-cross_2.15.91.0.2.oe | |
parent | 96379cf2ff7c66a2ab2f1e57e17c88b9860e5c75 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into mhcln01.hentges.local:/home/mhentges/OpenEmbedded/packages
2004/10/11 18:35:17+02:00 local!CoreDump
The mother of all section fixes! Gives a SECTION entry to (almost) all packages which were missing it (and thus were having a section of *base*). I have placed all packages unknown to me into the *unknown* section (and yes, i *am* to lazy to look them up), please fix.
BKrev: 416ab6716BWMm_ae6D2MValq-LDFzw
Diffstat (limited to 'binutils/binutils-cross_2.15.91.0.2.oe')
-rw-r--r-- | binutils/binutils-cross_2.15.91.0.2.oe | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/binutils/binutils-cross_2.15.91.0.2.oe b/binutils/binutils-cross_2.15.91.0.2.oe index e69de29bb2..cb50dd8b58 100644 --- a/binutils/binutils-cross_2.15.91.0.2.oe +++ b/binutils/binutils-cross_2.15.91.0.2.oe @@ -0,0 +1,33 @@ +SECTION = "devel" +include binutils_${PV}.oe +inherit cross +DEPENDS += "flex-native bison-native" +PROVIDES = "virtual/${TARGET_PREFIX}binutils" +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 () { + : +} |