From patchwork Mon May 27 23:01:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 246668 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1DDA82C02E9 for ; Tue, 28 May 2013 09:01:40 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EBA0910C155; Mon, 27 May 2013 23:01:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xtY-86tm9uQ0; Mon, 27 May 2013 23:01:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9547610C1B8; Mon, 27 May 2013 23:01:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 28C2A8F75E for ; Mon, 27 May 2013 23:01:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 381E6A02CF for ; Mon, 27 May 2013 23:01:07 +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 46jYpACRNZqr for ; Mon, 27 May 2013 23:01:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by hemlock.osuosl.org (Postfix) with ESMTP id C75DEA0277 for ; Mon, 27 May 2013 23:01:05 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 54D7AE40; Tue, 28 May 2013 01:01:06 +0200 (CEST) Received: from localhost (AToulouse-651-1-103-162.w109-222.abo.wanadoo.fr [109.222.70.162]) by mail.free-electrons.com (Postfix) with ESMTPSA id 139AD75E for ; Tue, 28 May 2013 01:01:06 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Tue, 28 May 2013 01:01:01 +0200 Message-Id: <1369695664-5670-4-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369695664-5670-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1369695664-5670-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 3/6] binutils: apply post-patch hook on both the host and target builds 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 When a Xtensa specific patch needs to be applied, it should be applied both when doing the target and the host build. This change is part of the effort to remove the differences between host and target post-extract and post-patch hooks, that are problematic for the out-of-tree support. Signed-off-by: Thomas Petazzoni --- package/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 081be6a..a2c4150 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -81,6 +81,7 @@ define BINUTILS_XTENSA_PRE_PATCH tar xf $(BR2_XTENSA_OVERLAY_DIR)/xtensa_$(XTENSA_CORE_NAME).tar \ -C $(@D) --strip-components=1 binutils endef +BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH HOST_BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH endif