summaryrefslogtreecommitdiffstats
path: root/templates/machine
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-07-25 15:45:28 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-07 16:31:23 +0000
commit9662ef604cd0c10336c2eb20e57d88627ec30811 (patch)
tree73175cc7cadee30dea81fcaa6d2e645d369b150e /templates/machine
parentd26651f556470efecbb52d95c65690bd7fb50f25 (diff)
visionfive2 templateHEADmaster
This adds a machine template for visionfive2 board. Change-Id: I045d387b64a190965400546a456da3602d786d87 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30112
Diffstat (limited to 'templates/machine')
-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