summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-12-18 08:57:19 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-12-18 08:57:19 +0000
commit2228b4167800e24d291d206ea422ba301a3e376b (patch)
tree8bac2e095f3c165fb9249a4ad54069354ee2c823 /meta/packages
parenta1a868a7c7f26cf02f28301e4e95ce5d042bdc5c (diff)
downloadopenembedded-core-2228b4167800e24d291d206ea422ba301a3e376b.tar.gz
openembedded-core-2228b4167800e24d291d206ea422ba301a3e376b.tar.bz2
openembedded-core-2228b4167800e24d291d206ea422ba301a3e376b.tar.xz
openembedded-core-2228b4167800e24d291d206ea422ba301a3e376b.zip
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
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/meta/meta-toolchain.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index a093d961c..ab35204c6 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -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 .