mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 04:03:03 +01:00
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 <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
76 lines
3.8 KiB
Plaintext
76 lines
3.8 KiB
Plaintext
# Yocto ADT Installer Configuration File
|
|
#
|
|
# Copyright 2010-2011 by Intel Corp.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
# THE SOFTWARE.
|
|
|
|
|
|
# Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on
|
|
|
|
YOCTOADT_REPO="ADTREPO"
|
|
|
|
# The following are for system wide setup
|
|
# Target architectures that you want to setup host cross dev environment for
|
|
# valid values are: arm, x86, x86_64, ppc, mips with space separation between entries
|
|
YOCTOADT_TARGETS="arm x86"
|
|
# Whether install qemu or not, valid entries are: Y/N
|
|
YOCTOADT_QEMU="Y"
|
|
# Whether install user-mode nfs or not, valid entries are: Y/N. If you want to use Yocto Eclipse plug-in as your dev IDE, you need to select both qemu and NFS
|
|
YOCTOADT_NFS_UTIL="Y"
|
|
|
|
# These 2 values will be supported in the furture installer
|
|
#YOCTOADT_BITBAKE="Y"
|
|
#YOCTOADT_METADATA="Y"
|
|
|
|
#The followings are for setting up specific target architecture
|
|
#YOCTOADT_ROOTFS_$arch is for specifying what root filesystem image files you want to download from the repository. The valid values to replace $arch are: arm, x86, x86_64, powerpc, mips. The valid image files are: minimal, minimal-dev, sato, sato-dev, sato-sdk,lsb, lsb-dev, lsb-sdk. If you want to download multiple images, the entries are space separated
|
|
YOCTOADT_ROOTFS_arm="minimal sato-sdk"
|
|
#Specify which root filesystem file to use to extract as target sysroot. Please ensure the entry is in the list of downloaded root filesystem files that specified above in YOCTOADT_ROOTFS_$arch
|
|
YOCTOADT_TARGET_SYSROOT_IMAGE_arm="sato-sdk"
|
|
#The machine for which you want to download the image. Each machine might have
|
|
#different compilation options in order to select certain hardware models or
|
|
#configurations
|
|
YOCTOADT_TARGET_MACHINE_arm="qemuarm"
|
|
#The location where the target sysroot will be setup
|
|
YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_arm"
|
|
|
|
|
|
#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"
|
|
YOCTOADT_TARGET_SYSROOT_IMAGE_x86_64="sato-sdk"
|
|
YOCTOADT_TARGET_MACHINE_x86_64="qemux86-64"
|
|
YOCTOADT_TARGET_SYSROOT_LOC_x86_64="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_x86_64"
|
|
|
|
YOCTOADT_ROOTFS_ppc="sato-sdk"
|
|
YOCTOADT_TARGET_SYSROOT_IMAGE_ppc="sato-sdk"
|
|
YOCTOADT_TARGET_MACHINE_ppc="qemuppc"
|
|
YOCTOADT_TARGET_SYSROOT_LOC_ppc="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_ppc"
|
|
|
|
YOCTOADT_ROOTFS_mips="sato-sdk"
|
|
YOCTOADT_TARGET_SYSROOT_IMAGE_mips="sato-sdk"
|
|
YOCTOADT_TARGET_MACHINE_mips="qemumips"
|
|
YOCTOADT_TARGET_SYSROOT_LOC_mips="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_mips"
|
|
|