diff options
author | Tomas Frydrych <tf@openedhand.com> | 2006-09-06 15:12:59 +0000 |
---|---|---|
committer | Tomas Frydrych <tf@openedhand.com> | 2006-09-06 15:12:59 +0000 |
commit | e9b762802b039e8c19e70b054ecc64e7ab07e4d8 (patch) | |
tree | b912494b2fc2845d4f9a67694b4120b2f585ed00 /meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb | |
parent | 8f47d85143c108040aa921b32aa9974b8edb0ba1 (diff) | |
download | poky-e9b762802b039e8c19e70b054ecc64e7ab07e4d8.tar.gz |
configuration for csl2006q1-6 compiler and binutils
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@697 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb')
-rw-r--r-- | meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb b/meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb new file mode 100644 index 0000000000..07f2b33fa7 --- /dev/null +++ b/meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_csl-arm-2006q1.bb | ||
3 | inherit cross | ||
4 | DEPENDS += "flex-native bison-native" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | ||
7 | PACKAGES = "" | ||
8 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
9 | --program-prefix=${TARGET_PREFIX}" | ||
10 | |||
11 | S = "${WORKDIR}/binutils-2.17" | ||
12 | |||
13 | do_stage () { | ||
14 | oe_runmake install | ||
15 | |||
16 | # We don't really need these, so we'll remove them... | ||
17 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
18 | rm -rf ${CROSS_DIR}/share/info | ||
19 | rm -rf ${CROSS_DIR}/share/locale | ||
20 | rm -rf ${CROSS_DIR}/share/man | ||
21 | rmdir ${CROSS_DIR}/share || : | ||
22 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
23 | rmdir ${CROSS_DIR}/${libdir} || : | ||
24 | rmdir ${CROSS_DIR}/${prefix} || : | ||
25 | |||
26 | # We want to move this into the target specific location | ||
27 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
28 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
29 | rmdir ${CROSS_DIR}/lib || : | ||
30 | } | ||
31 | |||
32 | do_install () { | ||
33 | : | ||
34 | } | ||