From patchwork Thu Jan 19 09:22:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 23/33] adt-installer: install autoconf(/automake)-nativesdk Date: Thu, 19 Jan 2012 09:22:44 -0000 From: Saul Wold X-Patchwork-Id: 19723 Message-Id: <79ab4f6bf5f69b328cbda1482cb531abfcf48fd8.1326964778.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Lianhao Lu [YOCTO #1909] Install autoconf-nativesdk and automake-nativesdk to host. Signed-off-by: Lianhao Lu --- .../adt-installer/scripts/adt_installer_internal | 18 ++++++------------ .../installer/adt-installer_1.0.bb | 2 +- 2 files changed, 7 insertions(+), 13 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 870931e..6201095 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 OPKG_INSTALL_CMD="$OPKG_CMD " OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR install" -echo_info "Installing pseudo nativesdk ...\n" -$OPKG_INSTALL_NATIVE_CMD pseudo-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE -check_result -echo_info "Installing opkg nativesdk ...\n" -$OPKG_INSTALL_NATIVE_CMD opkg-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE -check_result -echo_info "Installing pkgconfig nativesdk ...\n" -$OPKG_INSTALL_NATIVE_CMD pkgconfig-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE -check_result -echo_info "Installing libtool nativesdk ...\n" -$OPKG_INSTALL_NATIVE_CMD libtool-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE -check_result +BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake" +for pkg in $BASE_HOSTSDK_PKGNAMES; do + echo_info "Installing ${pkg} nativesdk ...\n" + $OPKG_INSTALL_NATIVE_CMD ${pkg}-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE + check_result +done for native_target_type in $YOCTOADT_TARGETS; do native_target_type=`echo "$native_target_type" | sed -e 's/x86_64/x86-64/' -e 's/ppc/powerpc/' -e 's/x86$/i586/'` diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb index 53911b8..39e53c1 100644 --- a/meta/recipes-devtools/installer/adt-installer_1.0.bb +++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb @@ -30,7 +30,7 @@ ALLOW_EMPTY = "1" PACKAGES = "" -PR = "r4" +PR = "r5" ADT_DEPLOY = "${TMPDIR}/deploy/sdk/" ADT_DIR = "${WORKDIR}/adt-installer/"