From patchwork Mon Apr 2 14:57:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 894278 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="prAF87O2"; 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 40FFhs3VbTz9s31 for ; Tue, 3 Apr 2018 00:58:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C803E228ED; Mon, 2 Apr 2018 14:58:17 +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 nlrhrqNikuub; Mon, 2 Apr 2018 14:58:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EAE31227E9; Mon, 2 Apr 2018 14:58:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3851F1C2314 for ; Mon, 2 Apr 2018 14:58:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3305C88EDE for ; Mon, 2 Apr 2018 14:58:12 +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 oArLBFpNhHwc for ; Mon, 2 Apr 2018 14:58:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5295E89008 for ; Mon, 2 Apr 2018 14:58:11 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id u46so14158686wrc.11 for ; Mon, 02 Apr 2018 07:58:11 -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=iFGU6M36h4nNrksVYYkf/tqZsSNV7nx4mtkXPMhp/tM=; b=prAF87O2sph+nfkv9yuYWkaIQC568MIGU7VEAMUhGSZSQJLyHOIwTf/qQEzHImYgHi SkjfAz5mQNt9/eNTcXCVa9D4gAn0+PvooYrJb9bdKl3S7Ke4zroT+ZKn5OLPuXyuCMv5 aoEyyHLV4lj/U4Fgc1YYLc9ymU2pjSjUpIZzaFBf8Ea8G0KJl1ag8omRNaXo8fI6BMwr 2mY7FwGQFgTZ30xsW4nXfR8Ks1YYyrQpmfsUwoVeTZMfzkmgaWGpe4jKJDAQaJaS1gp/ bPw4v+ac1ctn44/zneXTeFB4Bl7CXLhG344wGpwCaQZIKuDukYkaujmPCtjkSUN9Jjrk YNEg== 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=iFGU6M36h4nNrksVYYkf/tqZsSNV7nx4mtkXPMhp/tM=; b=CRbyD1rxsBDRvqUN3Wrs5jxjUTaAIHamG/Z/9Cbe1WCbYND0LIUu/xNxVie5JAjCs9 CzCISCj7Tayr9tTka6pApFxuDuCrEkN3QZ1mdOiAV9IRIYxXbIyEEzYOT3srMe0QArg8 JW9fV85mq1OO3Bsxq9IQOetfMA/BobT3CIgsw7ZaP7s6ZkIUJfgINmHaU4dT44V2LiR+ dzQIb3emWhg19YLZoXuKK8xpT2gI3/AQ3gqc7PlURftkUIG+lpSHF4zjCm6ULP3IYlUo GO8xEcR7YPiAlNXJhzrGXGXNC0mFKG7Of6D0g8xoehEHufWFRHvlGS4ufAmBWFTzh9Ob VDZg== X-Gm-Message-State: AElRT7GTkETUyQMXU17cIl7nxZB0dbptEdlyIxn0BC8WJR7+6/CZ2as1 LjlxgW54eOAxnlFBsg8eIUbRcGkz X-Google-Smtp-Source: AIpwx4+QuK+fZHF9OHD1zcJCiDPR9bqyVW5GKUXbG8W3t4ikutz5OHljkPdKvCZEvV/9iO6Qwjw8Lw== X-Received: by 10.223.175.201 with SMTP id y9mr6790765wrd.107.1522681089425; Mon, 02 Apr 2018 07:58:09 -0700 (PDT) Received: from cerise.online.net ([195.154.228.195]) by smtp.gmail.com with ESMTPSA id s15sm756001wrg.28.2018.04.02.07.58.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 07:58:08 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Mon, 2 Apr 2018 16:57:59 +0200 Message-Id: <20180402145802.17611-5-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180402145802.17611-1-maxime.hadjinlian@gmail.com> References: <20180402145802.17611-1-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH 5/8] 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: Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Maxime Hadjinlian Reviewed-by: "Yann E. MORIN" --- 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 71b9f60e5b..c2a1925088 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..62906d92bb 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 for +libfoo+ are stored in. * +$(TARGET_CC)+, +$(TARGET_LD)+, etc. to get the target cross-compilation utilities