[bitbake-devel] [PATCH 2/2] bb/cooker: mark parsed conf files as potential cache invalidators

Joshua Lock josh at linux.intel.com
Thu Aug 4 22:46:01 UTC 2011

The include parameter to _parse() tells the parser whether to include the
file in __base_depends, the contents of which have their mtime tested to
invalidate the cache when they have changed.

As I understand it we would want all of the configuration files that are
currently handled with the _parse() method to invalidate the cache to set the
default value of the include parameter to True.

Signed-off-by: Joshua Lock <josh at linux.intel.com>
 lib/bb/cooker.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 025dfe4..6022192 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1317,7 +1317,7 @@ def catch_parse_error(func):
     return wrapped
-def _parse(fn, data, include=False):
+def _parse(fn, data, include=True):
     return bb.parse.handle(fn, data, include)

More information about the bitbake-devel mailing list