[Buildroot] [PATCH 12/13] docs/manual: document the usage of <pkg>_OVERRIDE_SRCDIR
Peter Korsgaard
jacmet at uclibc.org
Sun Feb 23 21:29:39 UTC 2014
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
Hi,
>> +appropriate solution, because this directory is removed on +make
>> +clean+.
>> +
>> +Therefore, Buildroot provides a specific mechanism for this use case:
>> +the +<pkg>_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
More information about the buildroot
mailing list