diff options
author | Jessica Zhang <jessica.zhang@intel.com> | 2011-06-29 14:18:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 20:55:51 +0100 |
commit | fd383ab8e0a8cc8098f557ffcb097190a495c45e (patch) | |
tree | 9f0bfb8c28151b3b937dffcc0039bcfcfbaaf3c8 | |
parent | eb828308b8e721e4ad7edbd15f47ecad22ee81cf (diff) | |
download | openembedded-core-fd383ab8e0a8cc8098f557ffcb097190a495c45e.tar.gz openembedded-core-fd383ab8e0a8cc8098f557ffcb097190a495c45e.tar.bz2 openembedded-core-fd383ab8e0a8cc8098f557ffcb097190a495c45e.zip |
Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using correct libtool 2.4
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 09ecd7ca47..3301319207 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -28,6 +28,7 @@ toolchain_create_sdk_env_script () { echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script echo 'export OECORE_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script + echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/aclocal"' >> $script echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script } @@ -59,6 +60,7 @@ toolchain_create_tree_env_script () { echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script + echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script } # This function creates an environment-setup-script for use by the ADT installer @@ -89,6 +91,7 @@ toolchain_create_sdk_env_script_for_installer () { echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script echo 'export OECORE_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script + echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/acloal"' >> $script echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script } |