summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-10-04 16:47:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-05 14:49:54 +0100
commit679d76e8656422355f4ce5eef63e93d1d1fd843e (patch)
tree6ae1f3d6de44f5ef5b75ca1187bc0e7e35429c9e /meta
parent7d68b952cb5db999b1e0e0c9ab6934da52cb6436 (diff)
downloadpoky-679d76e8656422355f4ce5eef63e93d1d1fd843e.tar.gz
toolchain-scripts.bbclass: Export M4
some packages use M4 variable from environment and sometimes its hardcoded to /usr/bin/m4 if not found in environment. Lets define it such that it is picked from path (From OE-Core rev: 06c5593d15f206458b9a5b45ed1229abfee16e95) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/toolchain-scripts.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 44284c393a..6d8623ccfa 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -26,6 +26,7 @@ toolchain_create_sdk_env_script () {
26 echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script 26 echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script
27 echo 'export AR=${TARGET_PREFIX}ar' >> $script 27 echo 'export AR=${TARGET_PREFIX}ar' >> $script
28 echo 'export NM=${TARGET_PREFIX}nm' >> $script 28 echo 'export NM=${TARGET_PREFIX}nm' >> $script
29 echo 'export M4=m4' >> $script
29 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script 30 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
30 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux --with-libtool-sysroot=${SDKTARGETSYSROOT}"' >> $script 31 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux --with-libtool-sysroot=${SDKTARGETSYSROOT}"' >> $script
31 if [ "${TARGET_OS}" = "darwin8" ]; then 32 if [ "${TARGET_OS}" = "darwin8" ]; then