summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-01 23:28:04 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-01 23:28:04 +0100
commit2557eb18824a549b5d74a4a48927c43356d3a8b2 (patch)
tree2e6debd6d84201cabba51c3461f8ff96829a9ddf
parentbdbabcba8d6b6206f94a57d1b3d953969569269b (diff)
downloadpoky-2557eb18824a549b5d74a4a48927c43356d3a8b2.tar.gz
meta-toolchain: Set --build flag to configure in CONFIGURE_FLAGS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/meta/meta-toolchain.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index 52567844f6..b327d8fcb2 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -108,7 +108,7 @@ do_populate_sdk() {
108 echo 'export PKG_CONFIG_PATH=${SDK_PREFIX}/${TARGET_SYS}${layout_libdir}/pkgconfig' >> $script 108 echo 'export PKG_CONFIG_PATH=${SDK_PREFIX}/${TARGET_SYS}${layout_libdir}/pkgconfig' >> $script
109 echo 'export CONFIG_SITE=${SDK_PREFIX}/site-config' >> $script 109 echo 'export CONFIG_SITE=${SDK_PREFIX}/site-config' >> $script
110 echo 'export CC=${TARGET_PREFIX}gcc' >> $script 110 echo 'export CC=${TARGET_PREFIX}gcc' >> $script
111 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS}"' >> $script 111 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}"' >> $script
112 if [ "${TARGET_OS}" = "darwin8" ]; then 112 if [ "${TARGET_OS}" = "darwin8" ]; then
113 echo 'export TARGET_CFLAGS="-I${SDK_PREFIX}/${TARGET_SYS}${layout_includedir}"' >> $script 113 echo 'export TARGET_CFLAGS="-I${SDK_PREFIX}/${TARGET_SYS}${layout_includedir}"' >> $script
114 echo 'export TARGET_LDFLAGS="-L${SDK_PREFIX}/${TARGET_SYS}${layout_libdir}"' >> $script 114 echo 'export TARGET_LDFLAGS="-L${SDK_PREFIX}/${TARGET_SYS}${layout_libdir}"' >> $script