summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-18 11:41:09 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-18 11:41:09 +0000
commitf204c8376f18d6cc443e7f4533d7eeace5d45f95 (patch)
treef8a4ca20a0e07d98d5a55941b2d8c29df145a89d /meta
parenta9da1c7f2cea70d7f3ba8209053f8fc00e1cc684 (diff)
downloadopenembedded-core-f204c8376f18d6cc443e7f4533d7eeace5d45f95.tar.gz
openembedded-core-f204c8376f18d6cc443e7f4533d7eeace5d45f95.tar.bz2
openembedded-core-f204c8376f18d6cc443e7f4533d7eeace5d45f95.zip
binutils: Add csl 2008q1 version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4875 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb25
-rw-r--r--meta/packages/binutils/binutils_csl-arm-2008q1.bb25
2 files changed, 50 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb b/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb
new file mode 100644
index 0000000000..39b35c9ade
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb
@@ -0,0 +1,25 @@
+require binutils_csl-arm-2008q1.bb
+require binutils-cross.inc
+PR = "r1"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
+
+do_stage () {
+ oe_runmake install
+
+ MULTILIBDIR=`gcc -print-multi-os-directory`
+
+ # 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/${MULTILIBDIR}/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+ rmdir ${CROSS_DIR}/lib/${MULTILIBDIR} || :
+}
diff --git a/meta/packages/binutils/binutils_csl-arm-2008q1.bb b/meta/packages/binutils/binutils_csl-arm-2008q1.bb
new file mode 100644
index 0000000000..dd9b798306
--- /dev/null
+++ b/meta/packages/binutils/binutils_csl-arm-2008q1.bb
@@ -0,0 +1,25 @@
+require binutils.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "\
+ http://www.codesourcery.com/gnu_toolchains/arm/portal/package2553/public/arm-none-eabi/arm-2008q1-126-arm-none-eabi.src.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 \
+ file://docs_hack2.patch;patch=1 \
+ "
+
+PV = "2.18+csl-arm-2008q1-126"
+
+S = "${WORKDIR}/binutils-stable"
+
+do_unpack2() {
+ cd ${WORKDIR}
+ tar -xvjf ./arm-2008q1-126-arm-none-eabi/binutils-2008q1-126.tar.bz2
+}
+
+addtask unpack2 after do_unpack before do_patch