pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
opensbi-milkv-duo: new package
Module Name: pkgsrc-wip
Committed By: Rui-Xiang Guo <rxg%lavabit.com@localhost>
Pushed By: rxg
Date: Thu May 28 06:37:26 2026 +0800
Changeset: e6b304834e46bdc72648c4c11d79fb2d6bbec185
Added Files:
opensbi-milkv-duo/DESCR
opensbi-milkv-duo/Makefile
opensbi-milkv-duo/PLIST
opensbi-milkv-duo/buildlink3.mk
Log Message:
opensbi-milkv-duo: new package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e6b304834e46bdc72648c4c11d79fb2d6bbec185
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
opensbi-milkv-duo/DESCR | 1 +
opensbi-milkv-duo/Makefile | 14 ++++++++++++++
opensbi-milkv-duo/PLIST | 2 ++
opensbi-milkv-duo/buildlink3.mk | 13 +++++++++++++
4 files changed, 30 insertions(+)
diffs:
diff --git a/opensbi-milkv-duo/DESCR b/opensbi-milkv-duo/DESCR
new file mode 100644
index 0000000000..c0ab878f54
--- /dev/null
+++ b/opensbi-milkv-duo/DESCR
@@ -0,0 +1 @@
+This package provides OpenSBI as a u-boot payload for the Milk-V Duo.
diff --git a/opensbi-milkv-duo/Makefile b/opensbi-milkv-duo/Makefile
new file mode 100644
index 0000000000..c87282108f
--- /dev/null
+++ b/opensbi-milkv-duo/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+OPENSBI_BOARD= milkv-duo
+OPENSBI_PLATFORM= generic
+
+DEPENDS+= u-boot-milkv-duo-[0-9]*:../../wip/u-boot-milkv-duo
+
+MAKE_ENV+= FW_PAYLOAD_PATH=${PREFIX}/share/u-boot/milkv-duo/u-boot.bin \
+ FW_FDT_PATH=${PREFIX}/share/u-boot/milkv-duo/cv1800b_milkv_duo_sd.dtb
+
+OPENSBI_BIN= fw_dynamic.bin
+
+.include "../../sysutils/opensbi/opensbi.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/opensbi-milkv-duo/PLIST b/opensbi-milkv-duo/PLIST
new file mode 100644
index 0000000000..f979eceb33
--- /dev/null
+++ b/opensbi-milkv-duo/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+share/opensbi/milkv-duo/fw_dynamic.bin
diff --git a/opensbi-milkv-duo/buildlink3.mk b/opensbi-milkv-duo/buildlink3.mk
new file mode 100644
index 0000000000..a725da5636
--- /dev/null
+++ b/opensbi-milkv-duo/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= opensbi-milkv-duo
+
+.if !defined(OPENSBI_MILKV_DUO_BUILDLINK3_MK)
+OPENSBI_MILKV_DUO_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.opensbi-milkv-duo?= build
+BUILDLINK_API_DEPENDS.opensbi-milkv-duo+= opensbi-milkv-duo>=1.4
+BUILDLINK_PKGSRCDIR.opensbi-milkv-duo?= ../../wip/opensbi-milkv-duo
+.endif # OPENSBI_MILKV_DUO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -opensbi-milkv-duo
Home |
Main Index |
Thread Index |
Old Index