diff options
author | Jessica Zhang <jessica.zhang@intel.com> | 2011-05-17 20:50:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-19 23:40:36 +0100 |
commit | d1df75115e9c23ceac5ef26611e38835a52f22c5 (patch) | |
tree | 4f48fa15f484d41518d6ed895a67cc7a6a2698cf /meta/recipes-devtools/installer/adt-installer | |
parent | 720b5dbc0854b04151c2d42f58ad1360cd61a78f (diff) | |
download | poky-d1df75115e9c23ceac5ef26611e38835a52f22c5.tar.gz |
extract bitbake config setting into data_define, use more variables replacing hardcoded values
(From OE-Core rev: 993a2367f881f1f4eaa10339cde93c7058660d67)
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer')
4 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index ea36674d15..9336b9ec68 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer | |||
@@ -48,7 +48,7 @@ usage () | |||
48 | echo_info "# Install Qemu:\t\t\t$YOCTOADT_QEMU" | 48 | echo_info "# Install Qemu:\t\t\t$YOCTOADT_QEMU" |
49 | echo_info "# Install NFS utilities:\t$YOCTOADT_NFS_UTIL" | 49 | echo_info "# Install NFS utilities:\t$YOCTOADT_NFS_UTIL" |
50 | #echo_info "# Install bitbake + UI:\t\t$YOCTOADT_BITBAKE" | 50 | #echo_info "# Install bitbake + UI:\t\t$YOCTOADT_BITBAKE" |
51 | #echo_info "# Install poky metadata:\t$YOCTOADT_METADATA" | 51 | #echo_info "# Install metadata:\t$YOCTOADT_METADATA" |
52 | #echo_info "############################################################################\n" | 52 | #echo_info "############################################################################\n" |
53 | 53 | ||
54 | echo_info "\n##############################################################################" | 54 | echo_info "\n##############################################################################" |
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf index d2af70dd0f..b518c5362a 100644 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | # Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on | 24 | # Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on |
25 | 25 | ||
26 | YOCTOADT_IPKG_REPO="http://adtrepo.yoctoproject.org/1.0/rootfs" | 26 | YOCTOADT_IPKG_REPO="http://adtrepo.yoctoproject.org/$YOCTOADT_VERSION/rootfs" |
27 | 27 | ||
28 | # The following are for system wide setup | 28 | # The following are for system wide setup |
29 | # Target architectures that you want to setup host cross dev environment for | 29 | # Target architectures that you want to setup host cross dev environment for |
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 8d4e01b881..870931e37b 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |||
@@ -29,11 +29,11 @@ parse_config() | |||
29 | case $INST_ARCH in | 29 | case $INST_ARCH in |
30 | i[3-6]86) | 30 | i[3-6]86) |
31 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32 | 31 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32 |
32 | OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH-${SDK_VENDOR}-linux/" | 32 | OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH$SDK_VENDOR-linux/" |
33 | ;; | 33 | ;; |
34 | x86_64) | 34 | x86_64) |
35 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64 | 35 | OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64 |
36 | OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64-${SDK_VENDOR}-linux/" | 36 | OECORE_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64$SDK_VENDOR-linux/" |
37 | ;; | 37 | ;; |
38 | *) | 38 | *) |
39 | echo_info "[ADT_INST] Error: Installation Machine is not supported!" | 39 | echo_info "[ADT_INST] Error: Installation Machine is not supported!" |
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/data_define b/meta/recipes-devtools/installer/adt-installer/scripts/data_define index ca1d47c883..2781e77032 100644 --- a/meta/recipes-devtools/installer/adt-installer/scripts/data_define +++ b/meta/recipes-devtools/installer/adt-installer/scripts/data_define | |||
@@ -37,4 +37,3 @@ YOCTOADT_SUPPORTED_TARGETS="x86 x86_64 arm ppc mips" | |||
37 | # configuration files | 37 | # configuration files |
38 | YOCTOADT_OPKG_CONF_FILE_32="./opkg/conf/opkg-sdk-i686.conf" | 38 | YOCTOADT_OPKG_CONF_FILE_32="./opkg/conf/opkg-sdk-i686.conf" |
39 | YOCTOADT_OPKG_CONF_FILE_64="./opkg/conf/opkg-sdk-x86_64.conf" | 39 | YOCTOADT_OPKG_CONF_FILE_64="./opkg/conf/opkg-sdk-x86_64.conf" |
40 | INSTALL_FOLDER=/opt/poky/$YOCTOADT_VERSION | ||