summaryrefslogtreecommitdiffstats
path: root/templates/machine/visionfive2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/machine/visionfive2')
-rw-r--r--templates/machine/visionfive2/50_bblayers.conf.inc2
-rw-r--r--templates/machine/visionfive2/50_local.conf.inc4
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/machine/visionfive2/50_bblayers.conf.inc b/templates/machine/visionfive2/50_bblayers.conf.inc
new file mode 100644
index 000000000..02a564551
--- /dev/null
+++ b/templates/machine/visionfive2/50_bblayers.conf.inc
@@ -0,0 +1,2 @@
+# This is the original place, but we need to tweak layer.conf
+BBLAYERS =+ "${METADIR}/bsp/meta-riscv"
diff --git a/templates/machine/visionfive2/50_local.conf.inc b/templates/machine/visionfive2/50_local.conf.inc
new file mode 100644
index 000000000..9e7af0b81
--- /dev/null
+++ b/templates/machine/visionfive2/50_local.conf.inc
@@ -0,0 +1,4 @@
+MACHINE = "visionfive2"
+
+#see meta-agl/meta-agl-bsp/conf/include/agl_unmatched.inc
+require conf/include/agl_visionfive2.inc