diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/binutils/binutils-cross.inc | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils/binutils-cross.inc')
-rw-r--r-- | meta/packages/binutils/binutils-cross.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross.inc b/meta/packages/binutils/binutils-cross.inc new file mode 100644 index 0000000000..c63ea687aa --- /dev/null +++ b/meta/packages/binutils/binutils-cross.inc | |||
@@ -0,0 +1,30 @@ | |||
1 | SECTION = "devel" | ||
2 | inherit cross | ||
3 | DEPENDS += "flex-native bison-native" | ||
4 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
5 | PACKAGES = "" | ||
6 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
7 | --program-prefix=${TARGET_PREFIX}" | ||
8 | |||
9 | do_stage () { | ||
10 | oe_runmake install | ||
11 | |||
12 | # We don't really need these, so we'll remove them... | ||
13 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
14 | rm -rf ${CROSS_DIR}/share/info | ||
15 | rm -rf ${CROSS_DIR}/share/locale | ||
16 | rm -rf ${CROSS_DIR}/share/man | ||
17 | rmdir ${CROSS_DIR}/share || : | ||
18 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
19 | rmdir ${CROSS_DIR}/${libdir} || : | ||
20 | rmdir ${CROSS_DIR}/${prefix} || : | ||
21 | |||
22 | # We want to move this into the target specific location | ||
23 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
24 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
25 | rmdir ${CROSS_DIR}/lib || : | ||
26 | } | ||
27 | |||
28 | do_install () { | ||
29 | : | ||
30 | } | ||