From patchwork Tue Jul 4 16:22:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 784168 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 3x28Rd6xnqz9t0j for ; Wed, 5 Jul 2017 02:22:37 +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="eQtRGdEc"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7DA008749B; Tue, 4 Jul 2017 16:22:36 +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 bn68BebGOK-u; Tue, 4 Jul 2017 16:22:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 904A78750F; Tue, 4 Jul 2017 16:22:29 +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 7E9B21C0021 for ; Tue, 4 Jul 2017 16:22:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7A6F425C31 for ; Tue, 4 Jul 2017 16:22:22 +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 eVEyEmx0ns4P for ; Tue, 4 Jul 2017 16:22:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by silver.osuosl.org (Postfix) with ESMTPS id D891E240B6 for ; Tue, 4 Jul 2017 16:22:21 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id y5so27283482wmh.3 for ; Tue, 04 Jul 2017 09:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5YPtdeYoklJiUgoMk1pTHOqO65R3JtqQj8eBPj3li1I=; b=eQtRGdEc43MTYMbqexeUIhUs1Jr+aZaIdlSGM+Cvh+arq1hWMr24QRBYKW+SF+NMoS v8IHXO6B89esxphtWD+W1oybrtv3k2mbKWWmhIVlADWxDeT+FwOKcxZDwJFf+w7iH5w6 rUdUrgLfsXTeK44p49Xoh4rdnxmirFvpRz0UsG0DUaiGMKfuaQB9cLn+qvxN2VVyHkXR MVS5ZtJhDsQOjRje5ot4uRWBQB++mPN7RMkRgJWxptbtnChZQq6tAhQ7vBdbEbV2nOhE Utu0KHG6FHYi/yWacRy3bVIys1VEBgISlXeyVHs9SiSK8u5dochgo2FHOZSGQo2VaDpJ 07ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5YPtdeYoklJiUgoMk1pTHOqO65R3JtqQj8eBPj3li1I=; b=BvdeR/bI6HAXj28MwW/T2zCrZYgYH7xjdTMfV1c9DgAg5Hbp3R4cdC6L5wX6zq6rI2 W/KK1z+7gGiUzztKoNYSaqvTz0la+1Jc8lfOY4FwgeB1zduypay+jYRnhBgn95ntLNcV irJ94o12wrcMxPU8/ah4P5OvrDNSwMeCvkbkmdVCATMRNXxIVT2lMyGJoA2/q0cuNaR6 OFf1C0hgi3AYI+i6NdguXL0diGrvxb1gIUG8W0Gedu5s1uu3D8RsHNST44Zlc7qjVe6/ xYiAGdHSvfVGEV//425sJYbbZrNqVC8aBMqJmKO5UXSvczAUWZ8qyYvYSGERLwn3AwUL w08Q== X-Gm-Message-State: AKS2vOz4RtBs8zG4lvIH7/hdljkP6crePHLk/waf2FeYgjOwSpCUiGDr cfQBj5YXnEveg75oL08= X-Received: by 10.28.1.81 with SMTP id 78mr30162421wmb.100.1499185340085; Tue, 04 Jul 2017 09:22:20 -0700 (PDT) Received: from cerise.bzh.lan (2a01cb0886107300297010e522b1c364.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:2970:10e5:22b1:c364]) by smtp.gmail.com with ESMTPSA id u187sm3582012wmd.26.2017.07.04.09.22.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 09:22:19 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Tue, 4 Jul 2017 18:22:02 +0200 Message-Id: <20170704162211.13238-5-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170704162211.13238-1-maxime.hadjinlian@gmail.com> References: <20170704162211.13238-1-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH 04/13] pkg-generic: make PKG_DL_DIR equal to DL_DIR 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" This variable is currently not used by anyone. The value is changed to match the path to DL_DIR. The next patch will introduce the use of PKG_DL_DIR for packages that use specific EXTRACT_CMDS. And then we will be able to change the value of PKG_DL_DIR to create a new directory structure in DL_DIR with a subdirectory for each package. Signed-off-by: Maxime Hadjinlian Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 79bea906e2..c1cd41fda5 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -434,7 +434,7 @@ endif $(2)_BASE_NAME = $$(if $$($(2)_VERSION),$(1)-$$($(2)_VERSION),$(1)) $(2)_RAW_BASE_NAME = $$(if $$($(2)_VERSION),$$($(2)_RAWNAME)-$$($(2)_VERSION),$$($(2)_RAWNAME)) -$(2)_DL_DIR = $$(DL_DIR)/$$($(2)_BASE_NAME) +$(2)_DL_DIR = $$(DL_DIR) $(2)_DIR = $$(BUILD_DIR)/$$($(2)_BASE_NAME) ifndef $(2)_SUBDIR