summaryrefslogtreecommitdiff
path: root/packages/binutils
diff options
context:
space:
mode:
authorCesar Eduardo Barros <cesarb@cesarb.net>2007-09-22 07:39:11 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-22 07:39:11 +0000
commit4fb125dd1d1105e04dd764c5acd3b360e0ce8fd4 (patch)
tree06ec5c614bc5e88f41cf901cd3bb8fd8da2b172d /packages/binutils
parent94759e4b3c009963e529198d2eb62d2ef63aa227 (diff)
binutils: workaround x86_64 problems, should close #2928
Diffstat (limited to 'packages/binutils')
-rw-r--r--packages/binutils/binutils-cross.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/binutils/binutils-cross.inc b/packages/binutils/binutils-cross.inc
index 74ff4dd7a7..fb966d3c7b 100644
--- a/packages/binutils/binutils-cross.inc
+++ b/packages/binutils/binutils-cross.inc
@@ -18,13 +18,17 @@ do_stage () {
rm -rf ${CROSS_DIR}/share/man
rmdir ${CROSS_DIR}/share || :
rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
+ rmdir ${CROSS_DIR}/${libdir}64/gcc-lib || :
rmdir ${CROSS_DIR}/${libdir} || :
+ rmdir ${CROSS_DIR}/${libdir}64 || :
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/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+ mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib || \
+ mv -f ${CROSS_DIR}/lib64/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
rmdir ${CROSS_DIR}/lib || :
+ rmdir ${CROSS_DIR}/lib64 || :
}
do_install () {