diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-09-10 18:10:50 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-10 22:58:33 +0100 |
commit | 5992830145c55f5103b4ba24f98eeeae13c604fc (patch) | |
tree | ec1616b3571c63b7bb5c9c4832097368ed4af866 /meta/recipes-devtools/installer/adt-installer/adt_installer.conf | |
parent | 32090b6ea0bf7d49a6c8bfb271535c644fe612d6 (diff) | |
download | poky-5992830145c55f5103b4ba24f98eeeae13c604fc.tar.gz |
adt-installer: allow installation of other machines
Currently, adt-installer allows only the installation of qemu target
sysroots.
The changes in this patch do the following:
* add a new setting in adt-installer.conf (YOCTOADT_TARGET_MACHINE) for
each target architecture. For example, for arm we can choose to use a
qemuarm sysroot or a beagleboard sysroot. By default, only the qemu
target sysroots are selected (current behavior);
* change adt_installer scripts to allow installing the correct
meta-environment package for the selected machine;
* remove some left-over commented lines;
* use packagegroup-cross-canadian-${MACHINE} when installing the cross
canadian packages instead of doing it separately for each package;
* change the opkg config files in order to be able to find the
packagegroup package, which is allarch;
[YOCTO #4783]
(From OE-Core rev: 02085d410bf734e833d45293f4d5b06bb9536a60)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer/adt_installer.conf')
-rw-r--r-- | meta/recipes-devtools/installer/adt-installer/adt_installer.conf | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf index 171d2acc45..cc54acda19 100644 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf | |||
@@ -43,23 +43,33 @@ YOCTOADT_NFS_UTIL="Y" | |||
43 | YOCTOADT_ROOTFS_arm="minimal sato-sdk" | 43 | YOCTOADT_ROOTFS_arm="minimal sato-sdk" |
44 | #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 | 44 | #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 |
45 | YOCTOADT_TARGET_SYSROOT_IMAGE_arm="sato-sdk" | 45 | YOCTOADT_TARGET_SYSROOT_IMAGE_arm="sato-sdk" |
46 | #The machine for which you want to download the image. Each machine might have | ||
47 | #different compilation options in order to select certain hardware models or | ||
48 | #configurations | ||
49 | YOCTOADT_TARGET_MACHINE_arm="qemuarm" | ||
46 | #The location where the target sysroot will be setup | 50 | #The location where the target sysroot will be setup |
47 | YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/arm" | 51 | YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_arm" |
52 | |||
48 | 53 | ||
49 | #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 | 54 | #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 |
50 | #YOCTOADT_ROOTFS_x86="sato-sdk" | 55 | #YOCTOADT_ROOTFS_x86="sato-sdk" |
51 | #YOCTOADT_TARGET_SYSROOT_IMAGE_x86="sato-sdk" | 56 | #YOCTOADT_TARGET_SYSROOT_IMAGE_x86="sato-sdk" |
52 | #YOCTOADT_TARGET_SYSROOT_LOC_x86="$HOME/test-yocto/x86" | 57 | #YOCTOADT_TARGET_MACHINE_x86="qemux86" |
58 | #YOCTOADT_TARGET_SYSROOT_LOC_x86="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_x86" | ||
53 | 59 | ||
54 | #Here's some template of other arches, which you need to change the value in "" | 60 | #Here's some template of other arches, which you need to change the value in "" |
55 | #YOCTOADT_ROOTFS_x86_64="sato-sdk" | 61 | #YOCTOADT_ROOTFS_x86_64="sato-sdk" |
56 | #YOCTOADT_TARGET_SYSROOT_IMAGE_x86_64="sato-sdk" | 62 | #YOCTOADT_TARGET_SYSROOT_IMAGE_x86_64="sato-sdk" |
57 | #YOCTOADT_TARGET_SYSROOT_LOC_x86_64="$HOME/test-yocto/x86_64" | 63 | #YOCTOADT_TARGET_MACHINE_x86_64="qemux86-64" |
64 | #YOCTOADT_TARGET_SYSROOT_LOC_x86_64="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_x86_64" | ||
58 | 65 | ||
59 | #YOCTOADT_ROOTFS_ppc="sato-sdk" | 66 | #YOCTOADT_ROOTFS_ppc="sato-sdk" |
60 | #YOCTOADT_TARGET_SYSROOT_IMAGE_ppc="sato-sdk" | 67 | #YOCTOADT_TARGET_SYSROOT_IMAGE_ppc="sato-sdk" |
61 | #YOCTOADT_TARGET_SYSROOT_LOC_ppc="$HOME/test-yocto/ppc" | 68 | #YOCTOADT_TARGET_MACHINE_ppc="qemuppc" |
69 | #YOCTOADT_TARGET_SYSROOT_LOC_ppc="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_ppc" | ||
62 | 70 | ||
63 | #YOCTOADT_ROOTFS_mips="sato-sdk" | 71 | #YOCTOADT_ROOTFS_mips="sato-sdk" |
64 | #YOCTOADT_TARGET_SYSROOT_IMAGE_mips="sato-sdk" | 72 | #YOCTOADT_TARGET_SYSROOT_IMAGE_mips="sato-sdk" |
65 | #YOCTOADT_TARGET_SYSROOT_LOC_mips="$HOME/test-yocto/mips" | 73 | #YOCTOADT_TARGET_MACHINE_mips="qemumips" |
74 | #YOCTOADT_TARGET_SYSROOT_LOC_mips="$HOME/test-yocto/$YOCTOADT_TARGET_MACHINE_mips" | ||
75 | |||