summaryrefslogtreecommitdiff
path: root/packages/meta/meta-toolchain.bb
diff options
context:
space:
mode:
authorJulian_chu <julian_chu@openmoko.com>2008-09-10 16:29:40 +0800
committerJohn Lee <john_lee@openmoko.org>2009-01-12 14:04:22 +0800
commitccd72dd30fd9de6c06c9a2e03a84d862c3969386 (patch)
tree772b0b677c1d4832767bfaa5347b082c093d6f40 /packages/meta/meta-toolchain.bb
parenta2a083ab240026ca479b4800c09c02b656e1d70e (diff)
libtool-sdk_1.5.10.bb, meta-toolchain.bb, task-sdk-host.bb: introduce
sysroot libtool-sdk. Add libtool-sdk to help the meta toolchain using the .la files. Patch add_sysroot_function.patch is applied to teach libtool about LIBTOOL_SYSROOT_PATH . task-sdk-host.bb is updated along with its consumers to include libtool-sdk, and meta-toolchain.bb is updated to include this environment variable.
Diffstat (limited to 'packages/meta/meta-toolchain.bb')
-rw-r--r--packages/meta/meta-toolchain.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/meta/meta-toolchain.bb b/packages/meta/meta-toolchain.bb
index 3ce2a31d9e..b6517999b0 100644
--- a/packages/meta/meta-toolchain.bb
+++ b/packages/meta/meta-toolchain.bb
@@ -138,6 +138,7 @@ do_populate_sdk() {
script=${SDK_OUTPUT}/${prefix}/environment-setup
touch $script
echo 'export PATH=${prefix}/bin:$PATH' >> $script
+ echo 'export LIBTOOL_SYSROOT_PATH=${prefix}/${TARGET_SYS}' >> $script
echo 'export PKG_CONFIG_SYSROOT_DIR=${prefix}/${TARGET_SYS}' >> $script
echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}${layout_libdir}/pkgconfig' >> $script
echo 'export CONFIG_SITE=${prefix}/site-config' >> $script