]> code.ossystems Code Review - openembedded-core.git/commit
adt-installer: add warning if MACHINE is not set in adt-installer.conf
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 25 Sep 2013 15:40:29 +0000 (15:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Sep 2013 15:37:13 +0000 (16:37 +0100)
commit0623a0e1bd7cf0c405a0469e9f16779971c0c3b5
treea4e28faf80f747d8bf5fa713897a6d6d450fc214
parent5acfced041477d8c272485196e87ad601a0ce5b4
adt-installer: add warning if MACHINE is not set in adt-installer.conf

Since the MACHINE can now be specified in adt-installer.conf, in order to
install the proper toolchain and environment script for the given
machine, add a sanity checking at the beginning to make sure MACHINE is
set for the wanted architecture.

Also:
 * uncomment the x86 target variables, in adt-installer.conf, in order
   to have qemux86 MACHINE set, by default, and also the sysroot
   installed (since it doesn't make much sense to install the toolchain
   without a target sysroot);
 * remove 'sudo' when creating relocate_sdk_tmp.py because the file is
   created in adt-installer directory;

[YOCTO #5259]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/installer/adt-installer/adt_installer
meta/recipes-devtools/installer/adt-installer/adt_installer.conf
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal