From patchwork Wed Nov 12 00:25:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 409755 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 981CB140179 for ; Wed, 12 Nov 2014 11:26:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 888C894A86; Wed, 12 Nov 2014 00:26:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bOhKKtGIwwFu; Wed, 12 Nov 2014 00:26:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C7DC094D61; Wed, 12 Nov 2014 00:26:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 70D4A1CED83 for ; Wed, 12 Nov 2014 00:26:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6ABAA33767 for ; Wed, 12 Nov 2014 00:26:19 +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 d01AqUt1pLaE for ; Wed, 12 Nov 2014 00:26:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by silver.osuosl.org (Postfix) with ESMTPS id 89F42339B2 for ; Wed, 12 Nov 2014 00:26:18 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id z12so12819925wgg.9 for ; Tue, 11 Nov 2014 16:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=XHJTYN6iez3x7paq/eArRoTCdmy05PYRS6oTdVGJ6wY=; b=bqaufnbmQqTn3vJ9YZgNK7jhRIqnJ6PIlW17Zc1exbi3kgxNFCNp/x7KDMv8VYxEj2 3t2UKa3cpKBMDCQoXhxw5CZjx8+kJJqQxFHtAz5Tij4CLWbSHYaEUBP6B7+5tWejMiHG zGXTQfNh4JBtt5PGEuwlw6gw35lq7YFwGTEh8+t8J+XB9F7RkSqyIkbOQ5M73Qe1eMoD sqZQcxbhItowVS4HE6iCItWvvFn1AfUPAuidPA0l31jyPxKdALHwaD8P6BFnJzVd0f9Q ZfV6VWwH75x0hveDlu6uV6PQWwWDh++Zr/FAKtLLK7sOEaBmaLB6y1C0Dg38SxluRfOn 0LDg== X-Received: by 10.180.81.102 with SMTP id z6mr44356431wix.69.1415751977077; Tue, 11 Nov 2014 16:26:17 -0800 (PST) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id f1sm19473843wiy.17.2014.11.11.16.26.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Nov 2014 16:26:16 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Wed, 12 Nov 2014 01:25:50 +0100 Message-Id: <6ea40a37507892ad093c4a13acf3b5a9dae346c2.1415751395.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 04/24 v3] pkg-autotools: move the libtool patching call out of the autoreconf hook X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Call it as a standalone hook, like is done for post-patch. Signed-off-by: Johan Oudinet [yann.morin.1998@free.fr: split the patch into semantically separate patches] Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Cc: Arnout Vandecappelle --- package/pkg-autotools.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index 393f995..45947b0 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -98,7 +98,6 @@ endef define AUTORECONF_HOOK @$(call MESSAGE,"Autoreconfiguring") $(Q)cd $($(PKG)_SRCDIR) && $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS) - $(call PATCH_LIBTOOL,$($(PKG)_SRCDIR)) endef ################################################################################ @@ -260,6 +259,10 @@ $(2)_PRE_CONFIGURE_HOOKS += GETTEXTIZE_HOOK $(2)_DEPENDENCIES += host-gettext endif $(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK +# default values are not evaluated yet, so don't rely on this defaulting to YES +ifneq ($$($(2)_LIBTOOL_PATCH),NO) +$(2)_PRE_CONFIGURE_HOOKS += LIBTOOL_PATCH_HOOK +endif $(2)_DEPENDENCIES += host-automake host-autoconf host-libtool endif