1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

binutils: added 2.18 (normal/cross, no sdk)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2663 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-09-03 08:30:53 +00:00
parent bcf1196062
commit dbf959bfa8
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,32 @@
SECTION = "devel"
require binutils_${PV}.bb
inherit cross
DEPENDS += "flex-native bison-native"
PROVIDES = "virtual/${TARGET_PREFIX}binutils"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
PACKAGES = ""
EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
--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 () {
:
}
+11
View File
@@ -0,0 +1,11 @@
require binutils.inc
SRC_URI = "\
${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
file://110-arm-eabi-conf.patch;patch=1 \
file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \
file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \
"