[oe-commits] [openembedded-core] 08/61: externalsrc.bbclass: don't configure with --disable-dependency-tracking

git at git.openembedded.org git at git.openembedded.org
Tue May 29 10:43:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit af2f802d5b59203a887982af83252565b8078085
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Thu May 17 21:35:35 2018 -0700

    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 <armccurdy at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/externalsrc.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index c9f5cf7..ad87d85 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list