diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2012-01-18 15:03:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-19 11:34:12 +0000 |
commit | 89705eadb48a373ddf6488f323bda0f18237954a (patch) | |
tree | f8d972e20c5ce7184817c010344d5d620dfc5569 /meta/recipes-devtools/installer/adt-installer | |
parent | ea8e63df249715333ee5464a65a4d9684f7484b1 (diff) | |
download | poky-89705eadb48a373ddf6488f323bda0f18237954a.tar.gz |
adt-installer: install autoconf(/automake)-nativesdk
[YOCTO #1909]
Install autoconf-nativesdk and automake-nativesdk to host.
(From OE-Core rev: 0b3842f5c3c1587d25e70bc8223e2b144b9043cb)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 18 |
1 files changed, 6 insertions, 12 deletions
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 870931e37b..6201095117 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |||
@@ -91,18 +91,12 @@ check_result | |||
91 | OPKG_INSTALL_CMD="$OPKG_CMD " | 91 | OPKG_INSTALL_CMD="$OPKG_CMD " |
92 | OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR install" | 92 | OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR install" |
93 | 93 | ||
94 | echo_info "Installing pseudo nativesdk ...\n" | 94 | BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake" |
95 | $OPKG_INSTALL_NATIVE_CMD pseudo-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE | 95 | for pkg in $BASE_HOSTSDK_PKGNAMES; do |
96 | check_result | 96 | echo_info "Installing ${pkg} nativesdk ...\n" |
97 | echo_info "Installing opkg nativesdk ...\n" | 97 | $OPKG_INSTALL_NATIVE_CMD ${pkg}-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE |
98 | $OPKG_INSTALL_NATIVE_CMD opkg-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE | 98 | check_result |
99 | check_result | 99 | done |
100 | echo_info "Installing pkgconfig nativesdk ...\n" | ||
101 | $OPKG_INSTALL_NATIVE_CMD pkgconfig-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE | ||
102 | check_result | ||
103 | echo_info "Installing libtool nativesdk ...\n" | ||
104 | $OPKG_INSTALL_NATIVE_CMD libtool-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE | ||
105 | check_result | ||
106 | 100 | ||
107 | for native_target_type in $YOCTOADT_TARGETS; do | 101 | for native_target_type in $YOCTOADT_TARGETS; do |
108 | native_target_type=`echo "$native_target_type" | sed -e 's/x86_64/x86-64/' -e 's/ppc/powerpc/' -e 's/x86$/i586/'` | 102 | native_target_type=`echo "$native_target_type" | sed -e 's/x86_64/x86-64/' -e 's/ppc/powerpc/' -e 's/x86$/i586/'` |