From patchwork Sat Mar 31 14:24:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 893797 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sWuASHF5"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40D13B6FMNz9rxs for ; Sun, 1 Apr 2018 01:24:54 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 36DFC309B5; Sat, 31 Mar 2018 14:24:51 +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 eBN5S7cFC-Mt; Sat, 31 Mar 2018 14:24:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 60ADB30999; Sat, 31 Mar 2018 14:24:28 +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 870E71C16D3 for ; Sat, 31 Mar 2018 14:24:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 80C978938F for ; Sat, 31 Mar 2018 14:24:20 +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 G0Jgg_p_2MOk for ; Sat, 31 Mar 2018 14:24:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C169589394 for ; Sat, 31 Mar 2018 14:24:19 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id x4so20470409wmh.5 for ; Sat, 31 Mar 2018 07:24:19 -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=sg9PH8MQ6DAvmTwDmsdyM12o9sTt9bAhN6m0wWw0jUM=; b=sWuASHF5H/aJoV/B7FkXdyzcM7WI6+1wzsaT53otLgkfDF4qj8dbYjktkN9qsqOLVb k5ehcSGce8/OZOQUR/E2yJtLond7lRHOraEpkyJkz2wE3fZObmTz38QmzRwSi7ZJkzvJ qKJLIQZ4JJlZ7JZRnU2Wc9Nm++xSGD/MWSwqSnwo+3Hw1JmYX5qYusc5o5uSf8cqiUxZ RBgkyEo/h100FtZfzpyu4hTr1lj7471OwAQcDH+6F92kGQ74bRYIvGkXdy981TFbOuzA OgABhrqa8+fmwERwF+mnILtXBkbO/lhx7pSRRMC+Z3HofOyRwbhQ9d2bt81Q6Pga+J6j xZ1w== 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=sg9PH8MQ6DAvmTwDmsdyM12o9sTt9bAhN6m0wWw0jUM=; b=V/M+isb0RNYr/u6wAdyR3fJ6bF79XMVP2XQd49offXLrnliyrOlk4C6Lxpj+GZaOEu AsHahH4ztt+0Rvx9B2MTS+4Y7pTPOlrtaFWyRZ5wgZhUwSToOv29WfBY4puE2Mb5jgtN uFQ+xttWGfc2nzs7LsKfnRc472NpE2tefKXoZ0qBn9S+h4ljt55CN1Bx57Jrhm8o19Ml X9cfw2ndQVukBLbiVIuGDAFBn+KwTlKTr0VrkkmNBQcm3WnpKF/9x/4/4cWLDBc37GBH 2acjTPcozyjM4cISMirva6UeJtBVcJitRmcCFPMsVkGEPR3Aa4hio0YuucitGN8RuZat Tbpw== X-Gm-Message-State: AElRT7G2IWiEhNo9AxKwwFicYsnkbHBfGiRK1F2k8BqK4Rj+NSa5eZ9U y8HGISPmUl21h+OyWmjNh6vUGM7C X-Google-Smtp-Source: AIpwx4+2uDLvdZKRvcsmE/DQmAKfQHmVRTDuQA89+0Wu2mHfaTsYkfLHYe8Fc9xBlv5BWHLuKMjnQg== X-Received: by 10.28.5.198 with SMTP id 189mr4575299wmf.155.1522506257844; Sat, 31 Mar 2018 07:24:17 -0700 (PDT) Received: from cerise.online.net ([195.154.228.195]) by smtp.gmail.com with ESMTPSA id o88sm11394409wrb.44.2018.03.31.07.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Mar 2018 07:24:17 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Sat, 31 Mar 2018 16:24:05 +0200 Message-Id: <20180331142407.9522-11-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180331142407.9522-1-maxime.hadjinlian@gmail.com> References: <20180331142407.9522-1-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [v3 11/13] help/manual: update help about the new $(LIBFOO_DL_DIR) X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E . Morin" , Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Maxime Hadjinlian --- Config.in | 3 +++ docs/manual/adding-packages-generic.txt | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Config.in b/Config.in index a74b24ae45..55b6e5e2a1 100644 --- a/Config.in +++ b/Config.in @@ -200,6 +200,9 @@ config BR2_DL_DIR If the Linux shell environment has defined the BR2_DL_DIR environment variable, then this overrides this configuration item. + The directory is organized with a subdirectory for each package. + Each package has its own $(LIBFOO_DL_DIR) variable that can be used + to find the correct path. The default is $(TOPDIR)/dl diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt index 9d1428ad40..a7578a782d 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 +$(DL_DIR)+. + be up to the package recipe to use them from +$(LIBFOO_DL_DIR)+. * +LIBFOO_SITE_METHOD+ determines the method used to fetch or copy the package source code. In many cases, Buildroot guesses the method @@ -554,8 +554,8 @@ 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. +* +$(LIBFOO_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