MASK bitbake
https://stackoverflow.com/questions/48224871/make-yocto-skip-a-recipe-instead-of-stopping
You can find more information in the documentation for that variable:
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-BBMASK
Some examples copied from the linked documentation:
BBMASK += "/meta-ti/recipes-misc/ meta-ti/recipes-ti/packagegroup/"
BBMASK += "/meta-oe/recipes-support/"
BBMASK += "/meta-foo/.*/openldap"
BBMASK += "opencv.*\.bbappend"
BBMASK += "lzma"
多个产品(yocto machine)较多的情况可以配合remove 使用
BBMASK_remove = "xxxx.bb"
BBMASK_remove = "meta-xxxx/xxx/xxxx"