From 1b0d621f3278286d74c8113af5ad5c918a5cd5a8 Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Fri, 17 Jan 2014 17:16:18 +0200 Subject: adt_installer: do not install rootfs if target is not selected Currently, if YOCTOADT_TARGETS does not contain an architecture but the rootfs/machine settings are uncommented, then the rootfs is installed and adt will throw an error because is not able to find the toolchain environment script. This patch will: * not allow to install a target rootfs if the toolchain for the target architecture is not selected; * uncomment the target rootfs/machine settings for the other architectures since it's easier for the user to just add a new architecture in YOCTOADT_TARGETS and have the target rootfs installed; [YOCTO #5727] (From OE-Core rev: 22351d27de76b39cb71904396e73497e36d9e1d6) Signed-off-by: Laurentiu Palcu Signed-off-by: Richard Purdie --- .../installer/adt-installer/scripts/adt_installer_internal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal') 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 2eb13a9044..2fef7b0eed 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal @@ -292,7 +292,7 @@ user_inst_type=$1 install_native_sdk $user_inst_type check_result -for arch_type in $YOCTOADT_SUPPORTED_TARGETS; do +for arch_type in $YOCTOADT_TARGETS; do install_target $arch_type check_result done -- cgit v1.2.3-54-g00ecf