meta-toolchain: provide /usr/ symlink (related to sysroot usage) - requested by Rob

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3342 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-12-18 08:57:19 +00:00
parent a1a868a7c7
commit 2228b41678

View File

@@ -1,6 +1,7 @@
DESCRIPTION = "Meta package for building a installable toolchain"
LICENSE = "MIT"
DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native"
PR = "r1"
inherit sdk meta
@@ -98,6 +99,10 @@ do_populate_sdk() {
# remove broken .la files
rm -f ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/*.la
# /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr -> .
cd ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}
ln -sf . usr
mkdir -p ${SDK_DEPLOY}
cd ${SDK_OUTPUT}
fakeroot tar cfj ${SDK_DEPLOY}/${SDK_NAME}-toolchain-${DISTRO_VERSION}.tar.bz2 .