From patchwork Tue Jul 4 09:40:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 783822 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x1zXK1DQvz9s7B for ; Tue, 4 Jul 2017 19:41:04 +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="LR4w3WzA"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0FA8387979; Tue, 4 Jul 2017 09:41:01 +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 FMlNQNGnJoNF; Tue, 4 Jul 2017 09:40:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id EF86F87DC5; Tue, 4 Jul 2017 09:40:56 +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 E6D7F1C42BF for ; Tue, 4 Jul 2017 09:40:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A752F300FF for ; Tue, 4 Jul 2017 09:40:52 +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 P1tchVe2JOeW for ; Tue, 4 Jul 2017 09:40:45 +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 silver.osuosl.org (Postfix) with ESMTPS id 90CA02FEEE for ; Tue, 4 Jul 2017 09:40:45 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id p204so25123174wmg.1 for ; Tue, 04 Jul 2017 02:40:45 -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; bh=WmonyF3YmryRvSBVogTWewi+Z4FYg2Y4obx2Z+kretU=; b=LR4w3WzA59ukXDhQ9xwEfakHdtwsLMZBvr4v1lBvjWRG6WZL0MnMghvzUG8SDD2z07 cn4dAMcZ6ZrG5ja5KbIGctAlnihd9vmkj6A4DkXNLaN+CjiqDcwQg9mFq7cSoc2qoycy nsHV7aaS+QTqHSPYFerfSLfGeQX95OjQk5EJje1AVtRhMUZ2XjSMxq51swsReNUEmC3C 5wxnBVACAmaxriL9QmC0KDG6CtekAFTJpayE5M5ItHvzc3IKp3ecmFIBLNq5qq1eK+7t KZJrIuveHnKa+SL7KNrANo8yaPnGifuF/4NalkHml4/7b+BDzariY3bOEmY744tmwy8q jbdw== 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; bh=WmonyF3YmryRvSBVogTWewi+Z4FYg2Y4obx2Z+kretU=; b=f8IeEeFY3CxLcSeglmX+5EZTq4XSA7m0VOXftsn7r2urSjwSlMmJCE/Yq+Xxfi6bU5 aH2uADrABNG+G40aiEeG8VPBfVqdu5Tw4U/l7u1WZkq7AR8kgWdg6oCAtxIBoFxl8sfj ojU87SioVp4MzuoWQCoYFUWCvl7Sf0d+XeNnJqqBUqA1vaW35UoK/OjBWTb7sRymRylv rmt2p8CgyUUQEVLHl7OwOFNpUgG/8iT66leVcL1akZkob2R1ld4BlFNfC6//IbiN3c50 TvBQtiW7x7keXcPQgEerdVMi8aG0Ns8y6/LGaKPI0VPSpjpCjZCm92K/Ckxq9BbnR4Bk IPJQ== X-Gm-Message-State: AKS2vOwspXft/VP3SXyadEoTauZu6EJgL5UBqCZ7FfYVcugqbzIXPmrL Ruql+NyZi6pmBHcdR4A= X-Received: by 10.28.149.76 with SMTP id x73mr18797865wmd.119.1499161243776; Tue, 04 Jul 2017 02:40:43 -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 l20sm13889516wre.25.2017.07.04.02.40.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 02:40:43 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Tue, 4 Jul 2017 11:40:38 +0200 Message-Id: <20170704094040.19767-1-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH 1/3] manual: add documentation about 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" And at the same time don't encourage use of BR2_DL_DIR Signed-off-by: Maxime Hadjinlian Acked-by: Yann E. MORIN --- docs/manual/adding-packages-generic.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt index 71e27b672..12cf1605d 100644 --- a/docs/manual/adding-packages-generic.txt +++ b/docs/manual/adding-packages-generic.txt @@ -263,7 +263,7 @@ information is (assuming the package name is +libfoo+) : the file using this URL. Otherwise, Buildroot will assume the file to be downloaded is located at +LIBFOO_SITE+. Buildroot will not do anything with those additional files, except download them: it will - be up to the package recipe to use them from +$(BR2_DL_DIR)+. + be up to the package recipe to use them from +$(DL_DIR)+. * +LIBFOO_SITE_METHOD+ determines the method used to fetch or copy the package source code. In many cases, Buildroot guesses the method @@ -537,6 +537,9 @@ In the action definitions, you can use the following variables: * +$(@D)+, which contains the directory in which the package source code has been uncompressed. +* +$(DL_DIR)+ contains the path to the directory where all the downloads made + by Buildroot are stored. + * +$(TARGET_CC)+, +$(TARGET_LD)+, etc. to get the target cross-compilation utilities