Update Rust mixin layer directory
[AGL/meta-agl.git] / templates / base / bblayers.conf.sample
index 0dd28da..e3c5fcc 100644 (file)
@@ -15,6 +15,7 @@ METADIR  := "${@os.path.abspath('##OEROOT##/../..')}"
 YOCTO_LAYERS = " \
   ${METADIR}/external/poky/meta \
   ${METADIR}/external/poky/meta-poky \
+  ${METADIR}/external/meta-lts-mixins_rust \
   "
 #  this is added for the boards where necessary, not globally
 #  ${METADIR}/external/poky/meta-yocto-bsp \
@@ -25,7 +26,6 @@ YOCTO_LAYERS = " \
 #-----------------------------------------------------
 AGL_CORE_LAYERS = " \
   ${METADIR}/meta-agl/meta-agl-core \
-  ${METADIR}/meta-agl/meta-agl-core-test \
   ${METADIR}/meta-agl/meta-agl-bsp \
   "
 
@@ -35,9 +35,30 @@ AGL_CORE_DEPENDENCY_LAYERS = " \
   ${METADIR}/external/meta-openembedded/meta-oe \
   "
 
+# Indirection to avoid duplicate inclusions of the same folder into BBLAYERS
+# the evaluation is in the bblayers.conf.sample in meta-agl/templates/base
+AGL_META_NETWORKING ?= ""
+AGL_META_PYTHON ?= ""
+AGL_META_FILESYSTEMS ?= ""
+AGL_META_MULTIMEDIA ?= ""
+AGL_META_VIRTUALIZATION ?= ""
+AGL_META_CLANG ?= ""
+AGL_META_QT5 ?= ""
+
+AGL_OTHER_DEPENDENCY_LAYERS = " \
+    ${AGL_META_NETWORKING} \
+    ${AGL_META_PYTHON} \
+    ${AGL_META_FILESYSTEMS} \
+    ${AGL_META_MULTIMEDIA} \
+    ${AGL_META_VIRTUALIZATION} \
+    ${AGL_META_CLANG} \
+    ${AGL_META_QT5} \
+    "
+
 ####################
 # Combine the layers
 BBLAYERS ?= " \
+  ${AGL_OTHER_DEPENDENCY_LAYERS} \
   ${AGL_CORE_DEPENDENCY_LAYERS} \
   ${AGL_CORE_LAYERS} \
   ${YOCTO_LAYERS} \