summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/installer/adt-installer
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-03-07 10:06:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 12:18:48 -0800
commit9c52fe75b7f77feda075e9c5296448dea6ff7922 (patch)
tree137a27c1ba968c51bf295e4e9f913840f96d718b /meta/recipes-devtools/installer/adt-installer
parentfb2df75e1552e60c67449c06cd80accc40ea534e (diff)
downloadopenembedded-core-9c52fe75b7f77feda075e9c5296448dea6ff7922.tar.gz
openembedded-core-9c52fe75b7f77feda075e9c5296448dea6ff7922.tar.bz2
openembedded-core-9c52fe75b7f77feda075e9c5296448dea6ff7922.tar.xz
openembedded-core-9c52fe75b7f77feda075e9c5296448dea6ff7922.zip
adt-installer: Corrected wrong environment file names.
[YOCTO #2055] 1. Corrected the wrong environment file name for powerpc. 2. Removed unnecessary variables in adt_installer.conf. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer')
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
index 620109511..684dc880c 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -175,6 +175,8 @@ check_result
echo_info "Updating environment script with target sysroot location."
if [ "$1" == "x86" ]; then
env_filename=`ls $INSTALL_FOLDER/environment-setup-i586*`
+elif [ "$1" == "ppc" ]; then
+ env_filename=`ls $INSTALL_FOLDER/environment-setup-powerpc*`
else
env_filename=`ls $INSTALL_FOLDER/environment-setup-$1*`
fi