From d7e22e5f20816e8b285268d58d5506e933556e37 Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Wed, 25 Sep 2013 15:40:29 +0000 Subject: 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] (From OE-Core rev: 0623a0e1bd7cf0c405a0469e9f16779971c0c3b5) Signed-off-by: Laurentiu Palcu Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../installer/adt-installer/adt_installer.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'meta/recipes-devtools/installer/adt-installer/adt_installer.conf') diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf index cc54acda19..9329a8d199 100644 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf @@ -51,11 +51,11 @@ YOCTOADT_TARGET_MACHINE_arm="qemuarm" YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_arm" -#Here's another example for setting up target arch of x86, by uncommenting it will trigger the installer to download and setup 2 sysroot environment for 2 target arches: arm and x86. If you want to add more target arch support, you can append more entries by following these samples -#YOCTOADT_ROOTFS_x86="sato-sdk" -#YOCTOADT_TARGET_SYSROOT_IMAGE_x86="sato-sdk" -#YOCTOADT_TARGET_MACHINE_x86="qemux86" -#YOCTOADT_TARGET_SYSROOT_LOC_x86="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_x86" +#Here's a template for setting up target arch of x86 +YOCTOADT_ROOTFS_x86="sato-sdk" +YOCTOADT_TARGET_SYSROOT_IMAGE_x86="sato-sdk" +YOCTOADT_TARGET_MACHINE_x86="qemux86" +YOCTOADT_TARGET_SYSROOT_LOC_x86="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_x86" #Here's some template of other arches, which you need to change the value in "" #YOCTOADT_ROOTFS_x86_64="sato-sdk" -- cgit v1.2.3-54-g00ecf