[Buildroot] [PATCH] Don't disable dependency tracking if using <pkg>_OVERRIDE_SRCDIR.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Mar 5 21:48:49 UTC 2017


Hello,

On Wed, 1 Feb 2017 14:53:10 +0100, Ignacy Gawędzki wrote:
> Include the --disable-dependency-tracking option in
> <pkg>_CONFIGURE_CMDS only on the condition that <pkg>_OVERRIDE_SRCDIR
> is empty.  Dependency tracking is very welcome while developing in
> order to properly rebuild when calling make <pkg>-rebuild for
> instance.
> 
> Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki at green-communications.fr>
> ---
>  package/pkg-autotools.mk | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Applied to master, with a slight tweak to the commit title, and putting

	$$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \

even if it's 83 characters wide. I find that more readable this way.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list