diff options
Diffstat (limited to 'meta/classes/features_check.bbclass')
| -rw-r--r-- | meta/classes/features_check.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/features_check.bbclass b/meta/classes/features_check.bbclass index b3c8047861..205e1b9cd3 100644 --- a/meta/classes/features_check.bbclass +++ b/meta/classes/features_check.bbclass | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Allow checking of required and conflicting features | 1 | # Allow checking of required and conflicting features |
| 2 | # | 2 | # |
| 3 | # xxx = [DISTRO,MACHINE,COMBINED] | 3 | # xxx = [DISTRO,MACHINE,COMBINED,IMAGE] |
| 4 | # | 4 | # |
| 5 | # ANY_OF_xxx_FEATURES: ensure at least one item on this list is included | 5 | # ANY_OF_xxx_FEATURES: ensure at least one item on this list is included |
| 6 | # in xxx_FEATURES. | 6 | # in xxx_FEATURES. |
| @@ -18,7 +18,7 @@ python () { | |||
| 18 | 18 | ||
| 19 | unused = True | 19 | unused = True |
| 20 | 20 | ||
| 21 | for kind in ['DISTRO', 'MACHINE', 'COMBINED']: | 21 | for kind in ['DISTRO', 'MACHINE', 'COMBINED', 'IMAGE']: |
| 22 | if d.getVar('ANY_OF_' + kind + '_FEATURES') is None and \ | 22 | if d.getVar('ANY_OF_' + kind + '_FEATURES') is None and \ |
| 23 | d.overridedata.get('ANY_OF_' + kind + '_FEATURES') is None and \ | 23 | d.overridedata.get('ANY_OF_' + kind + '_FEATURES') is None and \ |
| 24 | d.getVar('REQUIRED_' + kind + '_FEATURES') is None and \ | 24 | d.getVar('REQUIRED_' + kind + '_FEATURES') is None and \ |
