layer.conf: Improve dependencies to u-blox layer
Instead of checking if we are building for an IMX target to include or not the jody bbappends, we are now including them only when the ublox meta-layer is present, which offer more scalability for futur HW design. BugzID: 65947
This commit is contained in:
parent
a72bba45b3
commit
bedc347bcf
|
|
@ -5,6 +5,8 @@ BBPATH .= ":${LAYERDIR}"
|
|||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILES_DYNAMIC = "meta-ublox-module:${LAYERDIR}/bbappends/ublox-module/recipes-*/*/*.bbappend"
|
||||
|
||||
|
||||
BBFILE_COLLECTIONS += "netmodule-bsp"
|
||||
BBFILE_PATTERN_netmodule-bsp = "^${LAYERDIR}/"
|
||||
|
|
@ -18,17 +20,3 @@ 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)} \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue