summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Zhang <jessica.zhang@intel.com>2011-06-29 21:18:20 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 19:57:07 (GMT)
commitb2a047d8db4562be2ea20dfee20ac2657ce3f161 (patch)
tree38bf586cf24ca67ea68b4e1900cb1f22b1b95daa
parentc1fd6f0c53dc7b539aecc162704c6edc5a9141ed (diff)
downloadpoky-b2a047d8db4562be2ea20dfee20ac2657ce3f161.tar.gz
Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using correct libtool 2.4
(From OE-Core rev: fd383ab8e0a8cc8098f557ffcb097190a495c45e) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/toolchain-scripts.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 09ecd7c..3301319 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -28,6 +28,7 @@ toolchain_create_sdk_env_script () {
28 echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script 28 echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script
29 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 29 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
30 echo 'export OECORE_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script 30 echo 'export OECORE_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script
31 echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/aclocal"' >> $script
31 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 32 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
32} 33}
33 34
@@ -59,6 +60,7 @@ toolchain_create_tree_env_script () {
59 echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script 60 echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script
60 echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script 61 echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script
61 echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script 62 echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script
63 echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script
62} 64}
63 65
64# This function creates an environment-setup-script for use by the ADT installer 66# This function creates an environment-setup-script for use by the ADT installer
@@ -89,6 +91,7 @@ toolchain_create_sdk_env_script_for_installer () {
89 echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script 91 echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script
90 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 92 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
91 echo 'export OECORE_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script 93 echo 'export OECORE_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script
94 echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/acloal"' >> $script
92 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 95 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
93 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script 96 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script
94} 97}