From: Peter Korsgaard Date: Sun, 23 Feb 2014 22:29:39 +0100 Subject: [Buildroot] [PATCH 12/13] docs/manual: document the usage of _OVERRIDE_SRCDIR In-Reply-To: <20140223162934.GC32759@free.fr> (Yann E. MORIN's message of "Sun, 23 Feb 2014 17:29:34 +0100") References: <1393167879-16637-1-git-send-email-thomas.petazzoni@free-electrons.com> <1393167879-16637-13-git-send-email-thomas.petazzoni@free-electrons.com> <20140223162934.GC32759@free.fr> Message-ID: <87eh2to6v0.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Yann" == Yann E MORIN writes: Hi, >> +appropriate solution, because this directory is removed on +make >> +clean+. >> + >> +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, > Wrong, now it is locate in $(CONFIG_DIR), that is, the directory where > we have the .config file, since: > b1e514d Config: default BR2_PACKAGE_OVERRIDE_FILE to $(CONFIG_DIR)/local.mk > This is Buildroot's top dir when building in-tree, and for out-of-tree > builds, it's in $(O). True, but that commit is only in next, and I imho think this series belongs on master, so I'll leave it for now. -- Bye, Peter Korsgaard