summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
1require binutils_csl-arm-2008q1.bb
2require binutils-cross.inc
3PR = "r1"
4FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
5
6do_stage () {
7 oe_runmake install
8
9 MULTILIBDIR=`gcc -print-multi-os-directory`
10
11 # We don't really need these, so we'll remove them...
12 rm -rf ${CROSS_DIR}/lib/ldscripts
13 rm -rf ${CROSS_DIR}/share/info
14 rm -rf ${CROSS_DIR}/share/locale
15 rm -rf ${CROSS_DIR}/share/man
16 rmdir ${CROSS_DIR}/share || :
17 rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
18 rmdir ${CROSS_DIR}/${libdir} || :
19 rmdir ${CROSS_DIR}/${prefix} || :
20
21 # We want to move this into the target specific location
22 mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
23 mv -f ${CROSS_DIR}/lib/${MULTILIBDIR}/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
24 rmdir ${CROSS_DIR}/lib/${MULTILIBDIR} || :
25}
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 @@
1require binutils.inc
2
3DEFAULT_PREFERENCE = "-1"
4
5SRC_URI = "\
6 http://www.codesourcery.com/gnu_toolchains/arm/portal/package2553/public/arm-none-eabi/arm-2008q1-126-arm-none-eabi.src.tar.bz2 \
7 file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
8 file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
9 file://110-arm-eabi-conf.patch;patch=1 \
10 file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
11 file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \
12 file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \
13 file://docs_hack2.patch;patch=1 \
14 "
15
16PV = "2.18+csl-arm-2008q1-126"
17
18S = "${WORKDIR}/binutils-stable"
19
20do_unpack2() {
21 cd ${WORKDIR}
22 tar -xvjf ./arm-2008q1-126-arm-none-eabi/binutils-2008q1-126.tar.bz2
23}
24
25addtask unpack2 after do_unpack before do_patch