mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user