diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-04 15:40:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-05 17:47:42 +0100 |
commit | 8358485e1c4f14f4107e6d5a2d2da5f37a64d270 (patch) | |
tree | 31db334067be1fdad56cca0dbee0cd6ec4e77d9d /bitbake/lib/bb/cooker.py | |
parent | 040e26ac09ff092f21665f25d8dd5a3cba3a712b (diff) | |
download | poky-8358485e1c4f14f4107e6d5a2d2da5f37a64d270.tar.gz |
bb/cooker: mark parsed conf files as potential cache invalidators
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.
(Bitbake rev: 5cacdc4f1641eda1b5707c96f7c40924a9db6174)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 33b684fbd8..4c13d32b47 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1324,7 +1324,7 @@ def catch_parse_error(func): | |||
1324 | return wrapped | 1324 | return wrapped |
1325 | 1325 | ||
1326 | @catch_parse_error | 1326 | @catch_parse_error |
1327 | def _parse(fn, data, include=False): | 1327 | def _parse(fn, data, include=True): |
1328 | return bb.parse.handle(fn, data, include) | 1328 | return bb.parse.handle(fn, data, include) |
1329 | 1329 | ||
1330 | @catch_parse_error | 1330 | @catch_parse_error |