Message ID | 20171025201003.16105-10-ps.report@gmx.net |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) 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 3yMh8z0WsMz9t4V for <incoming@patchwork.ozlabs.org>; Thu, 26 Oct 2017 07:10:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7474F8362D; Wed, 25 Oct 2017 20:10: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 mdXEA2ckkyU1; Wed, 25 Oct 2017 20:10:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C921787FF8; Wed, 25 Oct 2017 20:10:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 10AA01C4386 for <buildroot@lists.busybox.net>; Wed, 25 Oct 2017 20:10:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E5E9787FF5 for <buildroot@lists.busybox.net>; Wed, 25 Oct 2017 20:10: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 0XRiYb-n7UwI for <buildroot@lists.busybox.net>; Wed, 25 Oct 2017 20:10:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 87E3C87FF8 for <buildroot@buildroot.org>; Wed, 25 Oct 2017 20:10:09 +0000 (UTC) Received: from localhost.localdomain ([188.99.114.251]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MLeoF-1e8Gwn3Hed-000wae; Wed, 25 Oct 2017 22:10:06 +0200 From: Peter Seiderer <ps.report@gmx.net> To: buildroot@buildroot.org Date: Wed, 25 Oct 2017 22:09:59 +0200 Message-Id: <20171025201003.16105-10-ps.report@gmx.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171025201003.16105-1-ps.report@gmx.net> References: <20171025201003.16105-1-ps.report@gmx.net> X-Provags-ID: V03:K0:/UdwYpzspRi6cYS21eKhrJi90rOw5MDYQ8p0ixj4YdM16FRjx+h pcou0Br4Yr49uRJgC2/omVkVbVECOB4Rd0xY2rp2KqebRVPpfpBzcp4dCs0W6cx7AE/Nwvb HbRUh7qH1wa0BTge2TORZ09dsVSnKXadPIen2XclWcOLteyC2vLfRMthl49dkWZda10JDBm XMNLUvxVtI1V5lYNVRkrQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:O/oQ5ShyeuM=:tgobQDWkUMpnU/sYbHra7t ytzsJEgxCCidzAeIx7gI0RXD0kOtfkSWDfH/CbDxbSeOB8vJdJG+3F6X6/8XrT/pnpPfCD4+K 1YhK3FiMmMd2lse0ll3WSYx5dG9ssVXzeEvygQGqwCDIbcsBsrWLDJfI2EDkzWo9TlDiyPtyX 4oB903QZe+Ra4rBD9J5b4BSEhsUsyJPCnH6tq5M6oPm42avisvFuirJsockPZhxg2EEbeadJi latQpv3LlZ1G3h7nf5kARQgN7uBLssyx6FRaJ+x+T+I7S3BOxOdJosgxw9Ih1iwIBsm3vPAat 3WjUuNl3LGbxKmoKjyjg6n1lg2Tt4EV9CUS0USuD6Um1Ld3CuGf34AyEoDfkoNQg2hi7Z070Q qXTBj/TedHP0/h+JB0mxZqJaDScjGtRpf5kogRNrbE8dfFTZS1dJQ+BbLQKejABkibcwsPQKg ZTFGUFB/JtS1WC7AilMR5U1Deh9L+dUpKPCk3dT6N9yP+oCJ/he3UNwvApuXug7/yM97zhvEp if1Hs5uuUJnfhlxFpEdHNNT4QDZEDWsp0zj0Hre1RmpxKKdDNK2HiXybVsESl3QdFxZ4fe/X4 2QEKjfsndG+NKPoAvCE0z0054cw+qSqfiDdThcGJxm1yrDyWF8Pu2MnaEhFPN6OUo20hbGCTG p1DS95gNkptW/vJtlKkrB1wwCX1e6iqLt90rQKikoY73N1TqaylP/8uKEVMue0J5CMh9PNCpc 8MkOjn8QKM/AE4qbuznc6rm4vKdtA+jgaridPrICaNEg1mO+gIIccs8MHOi69I9+GWzmI0gq1 /sOU+/+oBic7P3of3tnMMcolamQGA== Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH v2 09/13] pkg-generic: introduce _SAME_SOURCE_AS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
New DL_DIR organisation; git cache feature
|
expand
|
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index d07ea0f885..99494929e6 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -441,7 +441,9 @@ 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)_RAWNAME) +$(2)_DL_DIR = $$(if $$($(2)_SAME_SOURCE_AS), \ + $$(DL_DIR)/$$($$(call UPPERCASE,$$($(2)_SAME_SOURCE_AS))_RAWNAME), \ + $$(DL_DIR)/$$($(2)_RAWNAME)) $(2)_DIR = $$(BUILD_DIR)/$$($(2)_BASE_NAME) ifndef $(2)_SUBDIR