From patchwork Sun Jul 17 08:44:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 649227 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rsfy062t7z9sdn for ; Sun, 17 Jul 2016 18:44:56 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=U8w2AgHD; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B02532F6C2; Sun, 17 Jul 2016 08:44:51 +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 fSZNVBTl6+AN; Sun, 17 Jul 2016 08:44:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0F64B2F252; Sun, 17 Jul 2016 08:44:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CB3A31C11DC for ; Sun, 17 Jul 2016 08:44:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B243386C72 for ; Sun, 17 Jul 2016 08:44:34 +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 72hHjZHd6uqV for ; Sun, 17 Jul 2016 08:44:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id AC21486B7B for ; Sun, 17 Jul 2016 08:44:33 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id x83so8183217wma.3 for ; Sun, 17 Jul 2016 01:44:33 -0700 (PDT) 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=wLCH6swwcgOKp4ErdUFaSNAYY6HV970RvUiBwH1puG8=; b=U8w2AgHDrKvSehCq777/XVVLNH2zAe7p2P3Q6uhZcPMBmdBFWNMWl7owd3pY+m1Hik +/LnSP3iJZo0L0pGjr1ISUP29n5p1ALgA57nwhXWp8DkVywLf6pDVSIddIh59T0qqO42 0TmStruvcmlUcMCxBLP/n/DZTVte3m0Z19w0eIAQUHM2tXlJe+vFsZ/WVQjJzZJ8Jhik RBwGvAojVBS8zn8BxD2E3JU8rb8yIlUinHNG81MVoAv5ZA8PlDwFW9SCRwJS91gzDHv/ EkLY3z9bp93yXYt9rEUR6nYAysunYoojH2ZchxZ7E3indhTJKimd0+8mms9VzgaruX9s CLVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=wLCH6swwcgOKp4ErdUFaSNAYY6HV970RvUiBwH1puG8=; b=SmIYVeiHF2YDbIHXHu0Cs9cpwEgb8sgqaHIPkQ3h6eZ7jkCKh0CZJuWnCNp+4GPWRE OTYCQAYqA3muCGLwLO8P6t4aAsdt3C6H8E6sTKnvlbp4veBuyIoiNQn0uVuuvAeoZY4D lA594LfTm0F60jebxTCLGQROiZrobbhHYeUquLN4gHiv7IVl1wNtop3Bf7zGMHNuYHhO yn5qMmgjvc9Aask4EpAusTNZOBUS6s7/eaZeTHMWd7vxQ4a1P0CCFnanvyh22//GVNWQ dtB9zMfpy0g2iQCRui8YNb33RzIcQU5Ge2qUJEkcGxPLTtIV842wIlNk60t9/GkiM/Lb Ni2w== X-Gm-Message-State: ALyK8tKZ5YHQ+OZJd+wQWzq+fv7Ho++n7V5yLVyOtEmM9ZT52fWV7vZjI364KCgowfGaHA== X-Received: by 10.28.230.205 with SMTP id e74mr31289354wmi.42.1468745072042; Sun, 17 Jul 2016 01:44:32 -0700 (PDT) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id o3sm9215184wji.18.2016.07.17.01.44.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Jul 2016 01:44:30 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 17 Jul 2016 10:44:24 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 2/6] toolchain: use the _TARGET_FINALIZE_HOOKS 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" Register toolchain-specific target-finalize hooks with the newly-introduced _TARGET_FINALIZE_HOOKS. Signed-off-by: "Yann E. MORIN" Reviewed-by: Romain Naour --- toolchain/toolchain.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/toolchain.mk b/toolchain/toolchain.mk index 0a35909..59fc905 100644 --- a/toolchain/toolchain.mk +++ b/toolchain/toolchain.mk @@ -10,7 +10,7 @@ define GLIBC_COPY_NSSWITCH_FILE $(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \ fi endef -TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE +TOOLCHAIN_TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE endif # Install the gconv modules @@ -52,5 +52,5 @@ define COPY_GCONV_LIBS >$(TARGET_DIR)/usr/lib/gconv/gconv-modules; \ fi endef -TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS +TOOLCHAIN_TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS endif