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>
This commit is contained in:
parent
040e26ac09
commit
8358485e1c
|
@ -1324,7 +1324,7 @@ def catch_parse_error(func):
|
||||||
return wrapped
|
return wrapped
|
||||||
|
|
||||||
@catch_parse_error
|
@catch_parse_error
|
||||||
def _parse(fn, data, include=False):
|
def _parse(fn, data, include=True):
|
||||||
return bb.parse.handle(fn, data, include)
|
return bb.parse.handle(fn, data, include)
|
||||||
|
|
||||||
@catch_parse_error
|
@catch_parse_error
|
||||||
|
|
Loading…
Reference in New Issue