summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/classes/sanity-meta-agl-core.bbclass
blob: 93df587f476ff57c5f6f27e8a360d14581dd1e67 (plain)
1
2
3
4
5
6
7
8
9
10
addhandler aglcore_bbappend_distrocheck
aglcore_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
python aglcore_bbappend_distrocheck() {
    skip_check = e.data.getVar('SKIP_META_AGL_CORE_SANITY_CHECK') == "1"
    if 'aglcore' not in e.data.getVar('AGL_FEATURES').split() and not skip_check:
        bb.warn("You have included the meta-agl-core layer, but \
'aglcore' has not been enabled in your AGL_FEATURES. Some bbappend files \
may not take effect. See the meta-agl-core README for details on enabling \
meta-agl-core support.")
}