summaryrefslogtreecommitdiffstats
path: root/meta-agl-extra/templates/feature/agl-localdev
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-extra/templates/feature/agl-localdev')
-rw-r--r--meta-agl-extra/templates/feature/agl-localdev/80_bblayers.conf.inc3
-rw-r--r--meta-agl-extra/templates/feature/agl-localdev/80_local.conf.inc2
-rw-r--r--meta-agl-extra/templates/feature/agl-localdev/README_feature_agl-localdev.md9
3 files changed, 14 insertions, 0 deletions
diff --git a/meta-agl-extra/templates/feature/agl-localdev/80_bblayers.conf.inc b/meta-agl-extra/templates/feature/agl-localdev/80_bblayers.conf.inc
new file mode 100644
index 00000000..d9bb9d07
--- /dev/null
+++ b/meta-agl-extra/templates/feature/agl-localdev/80_bblayers.conf.inc
@@ -0,0 +1,3 @@
+# Local derivations during development, just add a layer in the folder meta-localdev
+BBLAYERS =+ "${@'${METADIR}/meta-localdev' if os.path.exists('${METADIR}/meta-localdev') else ''}"
+
diff --git a/meta-agl-extra/templates/feature/agl-localdev/80_local.conf.inc b/meta-agl-extra/templates/feature/agl-localdev/80_local.conf.inc
new file mode 100644
index 00000000..6c921351
--- /dev/null
+++ b/meta-agl-extra/templates/feature/agl-localdev/80_local.conf.inc
@@ -0,0 +1,2 @@
+# (weak) include userspecific local.dev.inc
+include local.dev.inc
diff --git a/meta-agl-extra/templates/feature/agl-localdev/README_feature_agl-localdev.md b/meta-agl-extra/templates/feature/agl-localdev/README_feature_agl-localdev.md
new file mode 100644
index 00000000..111ae4ec
--- /dev/null
+++ b/meta-agl-extra/templates/feature/agl-localdev/README_feature_agl-localdev.md
@@ -0,0 +1,9 @@
+---
+description: enable local layer for development purposes
+authors: Stéphane Desneux <stephane.desneux@iot.bzh>
+---
+
+### Feature agl-localdev
+
+Adds a local layer named "meta-localdev" in meta directory and a local.dev.inc conf file if present.
+