layer.conf: mask out non-related recipes for imx8
wlconf-bin is fetching from git repository with branch name which is derivied from MACHINE variable. wlconf-bin is used for ti wl18xx bt/wifi chip which use mainly used on nmhw21 and similar boards. On imx8-nmhw23 we are using u-blox jody-w1. Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
parent
2cd6676823
commit
1148132513
|
|
@ -18,11 +18,17 @@ LAYERDEPENDS_netmodule-bsp = "core"
|
|||
|
||||
LAYERSERIES_COMPAT_netmodule-bsp = "warrior"
|
||||
|
||||
IMX_MASK_COLLECTION = " \
|
||||
# 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', '', "${IMX_MASK_COLLECTION}", d)} \
|
||||
${@bb.utils.contains('MACHINE_TYPE', 'imx8', "${NOT_AVAILABLE_ON_IMX}", "${IMX_ONLY_RECIPES}", d)} \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue