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