From patchwork Mon Nov 16 22:47:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 545255 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 3FED014145E for ; Tue, 17 Nov 2015 09:48:08 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=TUIq+BI/; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8E557883D4; Mon, 16 Nov 2015 22:47:56 +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 LbrbGfjg4cxM; Mon, 16 Nov 2015 22:47:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id DB73D8840B; Mon, 16 Nov 2015 22:47:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id DC30D1C1E8C for ; Mon, 16 Nov 2015 22:47:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D6ED287F29 for ; Mon, 16 Nov 2015 22:47:41 +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 lkTHENTraoQr for ; Mon, 16 Nov 2015 22:47:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by hemlock.osuosl.org (Postfix) with ESMTPS id 35EC6880CF for ; Mon, 16 Nov 2015 22:47:41 +0000 (UTC) Received: by wmww144 with SMTP id w144so975658wmw.0 for ; Mon, 16 Nov 2015 14:47:40 -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=7Cipexg8rq9gfx8OfoXl1Crakow7IJZciW3LMNv1EkE=; b=TUIq+BI/hnE6YMDVzBaUzhSEigukKTLl+xH5IwI8AA4wFAiJNqXP+NypoWpGtfXCaQ ub1GmQTcNAFH2BKkfi29cNNkm6X9eGFKo1+oIfBv0flWRn2UAv6aOztrzf3esT4ORd4d sXHIiRuIyzSabte1pC2ZD7snSSeyL7C0XWpaJUJSM+EWocesNh0ZIi5DuQ1K/Yn/TCqp qQf26FHMRS8EnsC3uK5WdNpNvC1lhVXGSDK1Qkglv5VwGlyuoGHBMPp9QFmDduauwiPG hUnVsU7MmWSYN2SGv3/wVYIA3YjZHmM8tBpDVIeQvRsMyv5sD2EVgEMMfkUuN7y8MXcq N5Ew== X-Received: by 10.28.130.7 with SMTP id e7mr6856459wmd.68.1447714059954; Mon, 16 Nov 2015 14:47:39 -0800 (PST) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id ka10sm36677165wjc.30.2015.11.16.14.47.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Nov 2015 14:47:39 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Mon, 16 Nov 2015 23:47:11 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: Luca Ceresoli , "Yann E. MORIN" Subject: [Buildroot] [PATCH 16/21 RFC] core/legal-info: use the macro to install source archives 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" Signed-off-by: "Yann E. MORIN" Cc: Luca Ceresoli --- package/pkg-generic.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 82fbeb0..a04adcf 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -819,9 +819,10 @@ ifeq ($$($(2)_REDISTRIBUTE),YES) ifneq ($$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_SOURCE)) $$(call DOWNLOAD,$$($(2)_ACTUAL_SOURCE_SITE)/$$($(2)_ACTUAL_SOURCE_TARBALL)) endif -# Copy the source tarball (just hardlink if possible) - @cp -l $$(DL_DIR)/$$($(2)_ACTUAL_SOURCE_TARBALL) $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4))) 2>/dev/null || \ - cp $$(DL_DIR)/$$($(2)_ACTUAL_SOURCE_TARBALL) $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4))) +# Copy the source tarball + $$(Q)$$(call hardlink-copy,\ + $$(DL_DIR)/$$($(2)_ACTUAL_SOURCE_TARBALL),\ + $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4)))) endif # redistribute endif # other packages