18 lines
818 B
Plaintext
18 lines
818 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH := "${BBPATH}:${LAYERDIR}"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend"
|
|
|
|
# Now we will need to include the matching fixes for a yocto version
|
|
BBFILES += "${BBFILES_SYSMOCOM_BSP}"
|
|
|
|
# selects specific distro or master when DISTRO_VERSION contains SNAPSHOT
|
|
BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.5.1', 'dora'), ('1.5.2', 'dora'), ('1.5.3', 'dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "sysmocom-bsp"
|
|
BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_sysmocom-bsp = "1"
|
|
|