From: Ignacy Gawędzki Date: Wed, 1 Feb 2017 13:53:10 +0000 (+0100) Subject: pkg-autotools: don't disable dependency tracking if using _OVERRIDE_SRCDIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=630c335868dac137157e4821d465f61323baba22;p=buildroot.git pkg-autotools: don't disable dependency tracking if using _OVERRIDE_SRCDIR Include the --disable-dependency-tracking option in _CONFIGURE_CMDS only on the condition that _OVERRIDE_SRCDIR is empty. Dependency tracking is very welcome while developing in order to properly rebuild when calling make -rebuild for instance. Signed-off-by: Ignacy Gawędzki --- diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index f7b848888b..e215382d06 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -199,7 +199,7 @@ define $(2)_CONFIGURE_CMDS --disable-documentation \ --with-xmlto=no \ --with-fop=no \ - --disable-dependency-tracking \ + $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ --enable-ipv6 \ $$(DISABLE_NLS) \ $$(SHARED_STATIC_LIBS_OPTS) \ @@ -232,7 +232,7 @@ define $(2)_CONFIGURE_CMDS --disable-debug \ --with-xmlto=no \ --with-fop=no \ - --disable-dependency-tracking \ + $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ $$(QUIET) $$($$(PKG)_CONF_OPTS) \ ) endef