meta-netmodule-bsp/conf/layer.conf

35 lines
1.1 KiB
Plaintext

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "netmodule-bsp"
BBFILE_PATTERN_netmodule-bsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_netmodule-bsp = "10"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_netmodule-bsp = "1"
LAYERDEPENDS_netmodule-bsp = "core"
LAYERSERIES_COMPAT_netmodule-bsp = "warrior"
# mask all imx8 specific recipes out for e.g. am335x build
IMX_ONLY_RECIPES = " \
recipes-imx \
recipes-connectivity/jody-w1-bt-hcd \
"
# mask all non related imx8 recipes out
NOT_AVAILABLE_ON_IMX = " \
recipes-connectivity/wlconf-bin \
"
# TODO: use MACHINE for complete board e.g. nmhwXX-type
BBMASK += " \
${@bb.utils.contains('MACHINE_TYPE', 'imx8', "${NOT_AVAILABLE_ON_IMX}", "${IMX_ONLY_RECIPES}", d)} \
"