diff options
Diffstat (limited to 'conf/layer.conf')
| -rw-r--r-- | conf/layer.conf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 000000000..81d29f598 --- /dev/null +++ b/conf/layer.conf | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # We have a conf and classes directory, add to BBPATH | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have a packages directory, add to BBFILES | ||
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
| 7 | |||
| 8 | BBFILE_COLLECTIONS += "fsl-arm" | ||
| 9 | BBFILE_PATTERN_fsl-arm := "^${LAYERDIR}/" | ||
| 10 | BBFILE_PRIORITY_fsl-arm = "5" | ||
| 11 | |||
| 12 | FSL_EULA_FILE = "${LAYERDIR}/EULA" | ||
| 13 | |||
| 14 | FSL_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/" | ||
| 15 | |||
| 16 | MIRRORS += " \ | ||
| 17 | ${FSL_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ | ||
| 18 | " | ||
| 19 | |||
| 20 | # Let us add layer-specific bbappends which are only applied when that | ||
| 21 | # layer is included in our configuration | ||
| 22 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ | ||
| 23 | for layer in BBFILE_COLLECTIONS.split())}" | ||
| 24 | # Add layer-specific bb files too | ||
| 25 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ | ||
| 26 | for layer in BBFILE_COLLECTIONS.split())}" | ||
