layer.conf 1.0 KB

12345678910111213141516171819202122232425262728
  1. BBPATH .= ":${LAYERDIR}"
  2. BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
  3. ${LAYERDIR}/recipes-*/*/*.bbappend"
  4. BBFILE_COLLECTIONS += "external-toolchain"
  5. BBFILE_PRIORITY_external-toolchain = "1"
  6. BBFILE_PATTERN_external-toolchain = "^${LAYERDIR}/"
  7. LAYERDEPENDS_external-toolchain = "core"
  8. LAYERSERIES_COMPAT_external-toolchain = "kirkstone langdale"
  9. LAYERDIR_external-toolchain = "${LAYERDIR}"
  10. BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.%s' % (layer, ext) \
  11. for layer in '${BBFILE_COLLECTIONS}'.split() for ext in ['bb', 'bbappend'])}"
  12. # These will rebuild when EXTERNAL_TOOLCHAIN changes, but we don't want
  13. # everything to rebuild in such a case.
  14. SIGGEN_EXCLUDERECIPES_ABISAFE += "\
  15. gcc-external-cross \
  16. gcc-external-cross-${TARGET_ARCH} \
  17. binutils-external-cross \
  18. binutils-external-cross-${TARGET_ARCH} \
  19. "
  20. # Needed for external_run() for PV & LICENSE in the recipes, to be able to parse
  21. INHERIT:append = " external_global"
  22. # Fallback default for when the tcmode isn't sourced
  23. GCC_VERSION ?= "0.0"