summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 a093d961c9..ab35204c6a 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -1,6 +1,7 @@
1DESCRIPTION = "Meta package for building a installable toolchain" 1DESCRIPTION = "Meta package for building a installable toolchain"
2LICENSE = "MIT" 2LICENSE = "MIT"
3DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native" 3DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native"
4PR = "r1"
4 5
5inherit sdk meta 6inherit 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 .