From patchwork Mon May 13 09:44:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charlie Turner X-Patchwork-Id: 1098750 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=none (p=none dis=none) header.from=igalia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="KIhzM48r"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 452bXK2gTDz9s4V for ; Mon, 13 May 2019 19:45:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B998824F8D; Mon, 13 May 2019 09:45:16 +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 ySZP983S5EAs; Mon, 13 May 2019 09:45:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EE9B824D71; Mon, 13 May 2019 09:45:13 +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 35A161BF3FC for ; Mon, 13 May 2019 09:45:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 328C1864B2 for ; Mon, 13 May 2019 09:45:13 +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 3ma4istJy3+O for ; Mon, 13 May 2019 09:45:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fanzine.igalia.com (fanzine.igalia.com [91.117.99.155]) by whitealder.osuosl.org (Postfix) with ESMTPS id 366C084798 for ; Mon, 13 May 2019 09:45:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Message-Id:Date:Subject:Cc:To:From; bh=grAniBu4OdKIFPWtnvUo9fxT/cGL/nUNQrfVrvjGaPg=; b=KIhzM48rySXbKifw8P7KpH7Wlx5L8TLOJsUOIzLmp7Y3T2VCKf6rWeVX1Dkk/9adsolbD1oMCRuJREusOQHCSa1pRsn0674n57/Xy+CIajLAzlzJgZlwLibyRN54ybMGL6lkZm9+D0lTa7hKCJgoMQpVMTmp35Z+z/D44kT4wrhToIJ/iaMKBZsnQu+yRjnht7SkP/9x9GCXw/aj0PjVyofyhxOqD5BOmodw2hoSvoM3B0+DM2YKY+m1xrr615e+y5PtTE7f7cff9F90P35i+yQNfHpxs163UwEa4Baw4iTQtAJ4Oi840jyys1qkjv6g2T6SUm8LDhNEriHbRwFpWg==; Received: from 222.107.6.51.dyn.plus.net ([51.6.107.222] helo=buildmachine.lan) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim) id 1hQ7W9-0005lD-9i; Mon, 13 May 2019 11:45:09 +0200 From: Charlie Turner To: buildroot@buildroot.org Date: Mon, 13 May 2019 10:44:40 +0100 Message-Id: <20190513094440.20712-1-cturner@igalia.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH 1/1] docs/manual: Clarify location of local.mk X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas De Schampheleire , Charlie Turner MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" In particular, the manual was incorrect when the user had selected an out-of-tree build. Signed-off-by: Charlie Turner --- docs/manual/using-buildroot-development.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/manual/using-buildroot-development.txt b/docs/manual/using-buildroot-development.txt index 3389a37b39..3e0f4be287 100644 --- a/docs/manual/using-buildroot-development.txt +++ b/docs/manual/using-buildroot-development.txt @@ -29,9 +29,18 @@ Therefore, Buildroot provides a specific mechanism for this use case: the +_OVERRIDE_SRCDIR+ mechanism. Buildroot reads an _override_ file, which allows the user to tell Buildroot the location of the source for certain packages. By default this _override_ file is named -+local.mk+ and located in the top directory of the Buildroot source -tree, but a different location can be specified through the -+BR2_PACKAGE_OVERRIDE_FILE+ configuration option. ++local.mk+ and is located where your Buildroot configuration file is. +By default this location is in the top-level directory of the +buildroot source tree. + +However, if the user has selected an out-of-tree build (using the ++O=path/to/my_output_dir+ make option) then you should place +local.mk+ in ++path/to/my_output_dir+, since that is where this out-of-tree build's ++.config+ file is located. + +If a different location than these defaults is required, it can be +specified through the +BR2_PACKAGE_OVERRIDE_FILE+ configuration +option. In this _override_ file, Buildroot expects to find lines of the form: