pkg-autotools: don't disable dependency tracking if using <pkg>_OVERRIDE_SRCDIR
authorIgnacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Wed, 1 Feb 2017 13:53:10 +0000 (14:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Mar 2017 21:48:04 +0000 (22:48 +0100)
commit630c335868dac137157e4821d465f61323baba22
tree49adcff309b82c0825beb30c4bec557f51b2919a
parentff27ab5329af1d05779ed21a94df175c164c1f39
pkg-autotools: don't disable dependency tracking if using <pkg>_OVERRIDE_SRCDIR

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@green-communications.fr>
package/pkg-autotools.mk