From: Andre McCurdy Date: Fri, 18 May 2018 04:35:35 +0000 (-0700) Subject: externalsrc.bbclass: don't configure with --disable-dependency-tracking X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17849 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af2f802d5b59203a887982af83252565b8078085;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git externalsrc.bbclass: don't configure with --disable-dependency-tracking One of the uses of externalsrc is to enable iterative editing and rebuilding of source files during development. In such situations, disabling Automake dependency tracking can lead to sources not being rebuilt even though files they depend on have been modified. Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index c9f5cf767d0..ad87d85f787 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass @@ -77,6 +77,9 @@ python () { # Dummy value because the default function can't be called with blank SRC_URI d.setVar('SRCPV', '999') + if d.getVar('CONFIGUREOPT_DEPTRACK') == '--disable-dependency-tracking': + d.setVar('CONFIGUREOPT_DEPTRACK', '') + tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) for task in tasks: