diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-12-18 08:57:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-12-18 08:57:19 +0000 |
commit | 2228b4167800e24d291d206ea422ba301a3e376b (patch) | |
tree | 8bac2e095f3c165fb9249a4ad54069354ee2c823 | |
parent | a1a868a7c7f26cf02f28301e4e95ce5d042bdc5c (diff) | |
download | poky-2228b4167800e24d291d206ea422ba301a3e376b.tar.gz |
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
-rw-r--r-- | meta/packages/meta/meta-toolchain.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb index a093d961c9..ab35204c6a 100644 --- a/meta/packages/meta/meta-toolchain.bb +++ b/meta/packages/meta/meta-toolchain.bb | |||
@@ -1,6 +1,7 @@ | |||
1 | DESCRIPTION = "Meta package for building a installable toolchain" | 1 | DESCRIPTION = "Meta package for building a installable toolchain" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native" | 3 | DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native" |
4 | PR = "r1" | ||
4 | 5 | ||
5 | inherit sdk meta | 6 | inherit sdk meta |
6 | 7 | ||
@@ -98,6 +99,10 @@ do_populate_sdk() { | |||
98 | # remove broken .la files | 99 | # remove broken .la files |
99 | rm -f ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/*.la | 100 | rm -f ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/*.la |
100 | 101 | ||
102 | # /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr -> . | ||
103 | cd ${SDK_OUTPUT}/${prefix}/${TARGET_SYS} | ||
104 | ln -sf . usr | ||
105 | |||
101 | mkdir -p ${SDK_DEPLOY} | 106 | mkdir -p ${SDK_DEPLOY} |
102 | cd ${SDK_OUTPUT} | 107 | cd ${SDK_OUTPUT} |
103 | fakeroot tar cfj ${SDK_DEPLOY}/${SDK_NAME}-toolchain-${DISTRO_VERSION}.tar.bz2 . | 108 | fakeroot tar cfj ${SDK_DEPLOY}/${SDK_NAME}-toolchain-${DISTRO_VERSION}.tar.bz2 . |