From patchwork Sun Jun 25 22:03:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 780545 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wwmRf4v7tz9s4q for ; Mon, 26 Jun 2017 08:03:58 +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="ioEZhFWK"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2EED5857BB; Sun, 25 Jun 2017 22:03:57 +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 154Br8eux23o; Sun, 25 Jun 2017 22:03:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C05C1857B0; Sun, 25 Jun 2017 22:03:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E30161C24A1 for ; Sun, 25 Jun 2017 22:03:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DCA462DFAE for ; Sun, 25 Jun 2017 22:03:47 +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 hUvjFVwulty8 for ; Sun, 25 Jun 2017 22:03:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by silver.osuosl.org (Postfix) with ESMTPS id 0A85E23020 for ; Sun, 25 Jun 2017 22:03:47 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id k67so26554954wrc.1 for ; Sun, 25 Jun 2017 15:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Mg/gmx9iCnBz1gCTD4amAe9ktAYMQHe/xlBSv7tpP3I=; b=ioEZhFWKD1NFsgHiE9VbQf3Mkq/oJfVqg7+/Pfu3ypMHme5mPI++ElONv9gK6wExAM OiNrvvSvVXjXMNdedpAKaaC5UCDfaMlNoWQNZbDzCmawkEm3WiljylpCXBnSJwO7PjNm w+tNQP4JKGByX54u2pbB8wQm7gokQuawyKmncxX17D4VzwjkVS9270W2YAB1JWz2J1PT NhPbr70Ces7m8MfGbwlWksaayTOaKvSP/4cpZw18IAaaOYCSt7fGDA0fU9euZUpZUbbr TWM9sbixBgf0HRIdSlsQx4WPYVGnLrk1Oh3PIX/q8BXiu0d+QUlNYRidPzVJQ/QmPh8o GGHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Mg/gmx9iCnBz1gCTD4amAe9ktAYMQHe/xlBSv7tpP3I=; b=pxpBiYBod8r2+KWS6w9TYwQr6J4DWae8M4QrfiycnSQcmLT59lwCbtR/14Ta3+n1Xo rfkQBbXZbfvtZO9x59lnPFVbDpmhQcaIFwSOfBlWA0Uv/2HtMbyKMW4b7gB9Rl48gaVG 6k5RL3PJ+XOIgNkrzQacAm9vJvvCUPyequVpH/ZM9YoN1Tkd7xHLKWa9iAr7Wdz9IEJ1 A5sGX9FBUX2oj2+CboRR5P34dVl7hQHzfm8zHwzp32Wc8xX82ZJc6bFWVuO/M3EtLz6x 8QZyp/Uq8GjdBs7+BwQhHlZm9kjJOYhJAa+4LZ18BQIPSbBjdJ2v0jQ1MvlkSsxx6YG0 jBqw== X-Gm-Message-State: AKS2vOxNStwSwzx+edxJRgUucNty75zYO8vtZCE9aw2quUzYUYj7HS79 XkzXbin2HJ5WhxQz X-Received: by 10.28.88.76 with SMTP id m73mr11304161wmb.71.1498428225462; Sun, 25 Jun 2017 15:03:45 -0700 (PDT) Received: from localhost.localdomain (2a01cb088610730061214b82f487065d.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:6121:4b82:f487:65d]) by smtp.gmail.com with ESMTPSA id m188sm6280170wmg.34.2017.06.25.15.03.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 15:03:44 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Mon, 26 Jun 2017 00:03:38 +0200 Message-Id: <606d7f78d9c7e1af1c1fd1b72ab489853d230f70.1498428166.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Cc: Luca Ceresoli , "Yann E. MORIN" , Rahul Bedarkar Subject: [Buildroot] [PATCH 2/5] core/pkg-generic: call MESSAGE when saving package legal-info 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" Currently, the per-package legal-info is mostly silent, but we're soon to add a check for the hashes of the license files. In that case, and when there is a hash mis-match, we want a user to know what package had a changed license file. So, we add a call to MESSAGE to display the package we're currently saving the legal-info of, like so: >>> busybox 1.26.2 Collecting legal info Signed-off-by: "Yann E. MORIN" Cc: Luca Ceresoli Cc: Peter Korsgaard Cc: Rahul Bedarkar --- package/pkg-generic.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index f474704980..22330edc5b 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -835,7 +835,9 @@ endif endif # legal-info: produce legally relevant info. +$(1)-legal-info: PKG=$(2) $(1)-legal-info: + @$$(call MESSAGE,"Collecting legal info") # Packages without a source are assumed to be part of Buildroot, skip them. $$(foreach hook,$$($(2)_PRE_LEGAL_INFO_HOOKS),$$(call $$(hook))$$(sep)) ifneq ($$(call qstrip,$$($(2)_SOURCE)),)