poky/bitbake/lib/bb/parse/parse_py
Patrick Ohly 6dafbaeff4 bitbake: ConfHandler.py: allow require or include without parameter
Writing .bbappends that only have an effect when some configuration
variable like DISTRO_FEATURES is changed becomes easier when allowing
"include" or "require" without a parameter. The same was already
allowed for "inherit".

Then one can write in a .bbappend:

  require ${@bb.utils.contains('DISTRO_FEATURES', 'foo', 'bar.inc', '', d)}

(Bitbake rev: 8b39c6361758b96fce50a53a6dba8008cd7e6433)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13 10:47:09 +01:00
..
__init__.py 3.0 prep 2010-07-02 15:41:37 +01:00
BBHandler.py bitbake: BBHandler: use with instead of open/close 2016-12-16 10:23:24 +00:00
ConfHandler.py bitbake: ConfHandler.py: allow require or include without parameter 2017-06-13 10:47:09 +01:00