From patchwork Mon Apr 2 08:14:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 894126 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.137; helo=fraxinus.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="B9TUvj9/"; dkim-atps=neutral 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 40F4lX0WhHz9s28 for ; Mon, 2 Apr 2018 18:15:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 38E0788496; Mon, 2 Apr 2018 08:14:55 +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 rxOhOSwBtGDV; Mon, 2 Apr 2018 08:14:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 94F9B8844A; Mon, 2 Apr 2018 08:14:53 +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 735651C0B66 for ; Mon, 2 Apr 2018 08:14:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 70EE488E16 for ; Mon, 2 Apr 2018 08:14:49 +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 wSP0jR6FDlyy for ; Mon, 2 Apr 2018 08:14:48 +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 whitealder.osuosl.org (Postfix) with ESMTPS id 0AF8888DD4 for ; Mon, 2 Apr 2018 08:14:48 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id v21so23846572wmc.1 for ; Mon, 02 Apr 2018 01:14:47 -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=MSHN+G3a8UQQJBwAYb3t2B46nW7Ox95DmsaSUYjNJ0o=; b=B9TUvj9/3LpedBqwvbjlFv7ITj7BYMUEUlJKId45phDr2I5ZTeBYe2BceYo2c2yJQd ijLnGo0iTMUNLOgxoVo1lM2vi3JmXcBSj+VFm+joCPHcOVO0bTv+kkLOor403nM6w+lS pSS6O67EQhpc8gCBdtk2U8PgiofGpH9V7XIO3Q00GpKEgJDLAil+JDzmp0NOTrXlTfCK umDEaq01rqrfvFUESN00QrKYoPUk0SvAcpThc9LfAWZMp/o+qIzHol+aNH0MnytllclF GjrXmjwFw1Sz5U4cgq0L+DYwReHsESSfjcyscUdYIZO9AJ4/E6rWgpY8bpTMFluhfQ4u 6caw== 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=MSHN+G3a8UQQJBwAYb3t2B46nW7Ox95DmsaSUYjNJ0o=; b=D1njKfY8F4CZNUdzXulOPUABCJsFwnYkUW+f2TyyeTyCq19mmRlMewF5HGXoVzmmmL tkhTMxaXTbftBR/F21EQZ6flcgr1ot7pvKS/HTshWaMP5U8woDseOUZHk5PIsS/pSYr4 6WahRb6dQpXGuub2Qam6ZYRSkz+oEII1tr3uxFZEqrJzyOeozSCfzSb2VhrsrZlU9M1F g6fzuceWkrzqPKbJVuOPvQmeRLDbDISTuU7SqBuQccOfqTxx/DemuEH+9FLrdWlSPEhy Ju6G0DOZgpg1ErQ7D/QDXMC1G93A5BpVEqEHS/82a/wO7CXdCT7D6CM0ycJ61ylVbWR0 +8xQ== X-Gm-Message-State: AElRT7FbI8FDS8IdAI0fzQRc0rfRLYCN0N/K0QZgDFBpWPco87UafhpG fkPwVOz4dA9upH7SuThMY4qKmNGi X-Google-Smtp-Source: AIpwx4+kYoLdle1L4PZyOucpG76HS13dVpG9W4wjEmPKUwxNReiz/ibhlq2pi9wsI4DaP0BCtIZG2w== X-Received: by 10.28.54.154 with SMTP id y26mr142963wmh.102.1522656886145; Mon, 02 Apr 2018 01:14:46 -0700 (PDT) Received: from cerise.online.net ([195.154.228.195]) by smtp.gmail.com with ESMTPSA id a205sm51981wmf.18.2018.04.02.01.14.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 01:14:45 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Mon, 2 Apr 2018 10:14:32 +0200 Message-Id: <20180402081434.4411-11-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180402081434.4411-1-maxime.hadjinlian@gmail.com> References: <20180402081434.4411-1-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [v4 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: 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