[oe-commits] Christopher Larson : external-sourcery-toolchain: forcibly create usr/lib
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 5 21:58:01 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 3c368f4c989bee68953b6d0fbf2adc44f97cc100
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3c368f4c989bee68953b6d0fbf2adc44f97cc100
Author: Christopher Larson <chris_larson at mentor.com>
Date: Fri Jun 1 15:53:58 2012 -0700
external-sourcery-toolchain: forcibly create usr/lib
If the usr/lib directory doesn't exist, the toolchain can fail to even try to
find crti.o in a completely different directory. This causes a failure for the
case where baselib is lib64.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../meta/external-sourcery-toolchain.bb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-core/meta/external-sourcery-toolchain.bb b/meta/recipes-core/meta/external-sourcery-toolchain.bb
index b67410b..74c82ec 100644
--- a/meta/recipes-core/meta/external-sourcery-toolchain.bb
+++ b/meta/recipes-core/meta/external-sourcery-toolchain.bb
@@ -24,7 +24,7 @@ PROVIDES += "\
virtual/linux-libc-headers \
"
PV = "${CSL_VER_MAIN}"
-PR = "r6"
+PR = "r7"
#SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/${CSL_TARGET_SYS}/arm-${PV}-${TARGET_PREFIX}i686-pc-linux-gnu.tar.bz2"
@@ -78,6 +78,10 @@ external_toolchain_sysroot_adjust() {
rm -f ${SYSROOT_DESTDIR}/$dest_sysroot
ln -s . ${SYSROOT_DESTDIR}/$dest_sysroot
fi
+
+ # If the usr/lib directory doesn't exist, the toolchain fails to even
+ # try to find crti.o in a completely different directory (usr/lib64)
+ install -d ${SYSROOT_DESTDIR}/usr/lib
}
PACKAGES =+ "libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev linux-libc-headers linux-libc-headers-dev gdbserver gdbserver-dbg"
More information about the Openembedded-commits
mailing list