summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-09-19 21:54:58 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-09-22 09:52:41 -0700
commitb80483094f3b08d86cf753d75a5ca6e79d103bff (patch)
tree58339ddb4976dd45ffab96fffb401077901e39ff
parentc9e52b05d58491047383adf4d5c76db9ad8e63f3 (diff)
downloadpoky-b80483094f3b08d86cf753d75a5ca6e79d103bff.tar.gz
meta-ide-support: Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH
Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH to make them point to the correct directory path. This fixes [BUGID #340]. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-rw-r--r--meta/classes/toolchain-scripts.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 75e65f2db0..c393d99644 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -38,8 +38,8 @@ toolchain_create_tree_env_script () {
38 rm -f $script 38 rm -f $script
39 touch $script 39 touch $script
40 echo 'export PATH=${PATH}' >> $script 40 echo 'export PATH=${PATH}' >> $script
41 echo 'export PKG_CONFIG_SYSROOT_DIR=${STAGING_DIR}/${TARGET_SYS}' >> $script 41 echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' >> $script
42 echo 'export PKG_CONFIG_PATH=${STAGING_DIR}/${TARGET_SYS}${libdir}/pkgconfig' >> $script 42 echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' >> $script
43 43
44 echo 'export CONFIG_SITE="${@siteinfo_get_files(d)}"' >> $script 44 echo 'export CONFIG_SITE="${@siteinfo_get_files(d)}"' >> $script
45 45