From patchwork Mon May 7 20:59:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stijn Souffriau X-Patchwork-Id: 157466 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id E61FEB6FA9 for ; Tue, 8 May 2012 07:00:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 803B432A5E; Mon, 7 May 2012 21:00:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xhKFOyr1KY34; Mon, 7 May 2012 21:00:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4C8EF32A6B; Mon, 7 May 2012 21:00:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9E61A8F78E for ; Mon, 7 May 2012 21:00:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8C8068C895 for ; Mon, 7 May 2012 21:00:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fEwFEUJ9G4eJ for ; Mon, 7 May 2012 21:00:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2A8F78C8E1 for ; Mon, 7 May 2012 21:00:45 +0000 (UTC) Received: from [172.16.0.18] (helo=localhost.localdomain) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1SRV2l-00028n-Bl; Mon, 07 May 2012 23:00:43 +0200 From: Stijn Souffriau To: buildroot@busybox.net Date: Mon, 7 May 2012 22:59:45 +0200 Message-Id: <1336424385-8933-5-git-send-email-stijn.souffriau@essensium.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1336424385-8933-1-git-send-email-stijn.souffriau@essensium.com> References: <1336424385-8933-1-git-send-email-stijn.souffriau@essensium.com> Subject: [Buildroot] [PATCH 5/5] Added host targets to gnupg and its prerequisite libraries. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net --- package/gnupg/gnupg.mk | 11 +++++++++++ package/libassuan/libassuan.mk | 5 +++++ package/libgcrypt/libgcrypt.mk | 1 + package/libgpg-error/libgpg-error.mk | 1 + package/libksba/libksba.mk | 5 +++++ package/libpth/libpth.mk | 5 +++++ 6 files changed, 28 insertions(+), 0 deletions(-) diff --git a/package/gnupg/gnupg.mk b/package/gnupg/gnupg.mk index a9cdf38..0a6c99f 100644 --- a/package/gnupg/gnupg.mk +++ b/package/gnupg/gnupg.mk @@ -20,4 +20,15 @@ GNUPG_CONF_OPT = \ --with-zlib=$(STAGING_DIR)/usr/lib \ --with-libiconv-prefix=$(STAGING_DIR)/usr +HOST_GNUPG_CONF_OPT = \ + --disable-optimization \ + --with-gpg-error-prefix=$(HOST_DIR)/usr \ + --with-libgcrypt-prefix=$(HOST_DIR)/usr \ + --with-libassuan-prefix=$(HOST_DIR)/usr \ + --with-ksba-prefix=$(HOST_DIR)/usr \ + --with-pth-prefix=$(HOST_DIR)/usr \ + --with-zlib=$(HOST_DIR)/usr/lib \ + --with-libiconv-prefix=$(HOST_DIR)/usr + $(eval $(call AUTOTARGETS)) +$(eval $(call AUTOTARGETS,host)) diff --git a/package/libassuan/libassuan.mk b/package/libassuan/libassuan.mk index d2a018a..a94e601 100644 --- a/package/libassuan/libassuan.mk +++ b/package/libassuan/libassuan.mk @@ -13,6 +13,11 @@ LIBASSUAN_CONF_OPT = \ --disable-optimization \ --with-gpg-error-prefix=$(STAGING_DIR)/usr +HOST_LIBASSUAN_CONF_OPT = \ + --disable-optimization \ + --with-gpg-error-prefix=$(HOST_DIR)/usr + LIBASSUAN_DEPENDENCIES = libgpg-error $(eval $(call AUTOTARGETS)) +$(eval $(call AUTOTARGETS,host)) diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index 68c6c47..55606fe 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -18,3 +18,4 @@ LIBGCRYPT_CONF_OPT = \ LIBGCRYPT_DEPENDENCIES = libgpg-error $(eval $(call AUTOTARGETS)) +$(eval $(call AUTOTARGETS,host)) diff --git a/package/libgpg-error/libgpg-error.mk b/package/libgpg-error/libgpg-error.mk index 1b78b17..2aa1da3 100644 --- a/package/libgpg-error/libgpg-error.mk +++ b/package/libgpg-error/libgpg-error.mk @@ -9,3 +9,4 @@ LIBGPG_ERROR_SITE = ftp://ftp.gnupg.org/gcrypt/libgpg-error LIBGPG_ERROR_INSTALL_STAGING = YES $(eval $(call AUTOTARGETS)) +$(eval $(call AUTOTARGETS,host)) diff --git a/package/libksba/libksba.mk b/package/libksba/libksba.mk index bebd352..d33b149 100644 --- a/package/libksba/libksba.mk +++ b/package/libksba/libksba.mk @@ -13,4 +13,9 @@ LIBKSBA_CONF_OPT = \ --disable-optimization \ --with-gpg-error-prefix=$(STAGING_DIR)/usr +HOST_LIBKSBA_CONF_OPT = \ + --disable-optimization \ + --with-gpg-error-prefix=$(HOST_DIR)/usr + $(eval $(call AUTOTARGETS)) +$(eval $(call AUTOTARGETS,host)) diff --git a/package/libpth/libpth.mk b/package/libpth/libpth.mk index 07c5c61..4fb7494 100644 --- a/package/libpth/libpth.mk +++ b/package/libpth/libpth.mk @@ -12,4 +12,9 @@ LIBPTH_INSTALL_STAGING = YES LIBPTH_CONF_OPT = \ --disable-optimization +HOST_LIBPTH_CONF_OPT = \ + --disable-optimization + + $(eval $(call AUTOTARGETS)) +$(eval $(call AUTOTARGETS,host))