diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2018-05-17 21:35:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-29 21:07:13 +0100 |
commit | 24882b24165d8034d6611139a8254fa6a52f1b60 (patch) | |
tree | 23b327fec720f487c3d59d85313478f3500b3983 /meta/classes/externalsrc.bbclass | |
parent | b1b506a8108474136959cb6a630eb6ec0ac0f59e (diff) | |
download | poky-24882b24165d8034d6611139a8254fa6a52f1b60.tar.gz |
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.
(From OE-Core rev: af2f802d5b59203a887982af83252565b8078085)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r-- | meta/classes/externalsrc.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index c9f5cf767d..ad87d85f78 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass | |||
@@ -77,6 +77,9 @@ python () { | |||
77 | # Dummy value because the default function can't be called with blank SRC_URI | 77 | # Dummy value because the default function can't be called with blank SRC_URI |
78 | d.setVar('SRCPV', '999') | 78 | d.setVar('SRCPV', '999') |
79 | 79 | ||
80 | if d.getVar('CONFIGUREOPT_DEPTRACK') == '--disable-dependency-tracking': | ||
81 | d.setVar('CONFIGUREOPT_DEPTRACK', '') | ||
82 | |||
80 | tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) | 83 | tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) |
81 | 84 | ||
82 | for task in tasks: | 85 | for task in tasks: |