summaryrefslogtreecommitdiffstats
path: root/meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb')
-rw-r--r--meta/packages/binutils/binutils-cross_csl-arm-2008q1.bb25
1 files changed, 25 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}