[packages/mstflint] - added dpa bcond

qboosh qboosh at pld-linux.org
Tue Oct 20 21:13:51 CEST 2026


commit f4ce6bb400d67c2fdc623360c8748563761c2e7a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 20 21:14:33 2026 +0200

    - added dpa bcond

 mstflint.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/mstflint.spec b/mstflint.spec
index 260a085..9023566 100644
--- a/mstflint.spec
+++ b/mstflint.spec
@@ -1,6 +1,9 @@
 # TODO:
-# --enable-dpa (x86_64/aarch64 only)
 # --enable-nvml (R: nvidia-ml.pc, nlml.h + libnvidia-ml)
+#
+# Conditional build:
+%bcond_with	dpa	# mstdpa tool (x86_64/aarch64 only, with binary blob)
+
 Summary:	Firmware burning and diagnostic tools for Mellanox HCA/NIC cards
 Summary(pl.UTF-8):	Narzędzia modyfikujące firmware i diagnostyczne dla kart HCA/NIC Mellanox
 Name:		mstflint
@@ -80,6 +83,7 @@ Pliki nagłówkowe do dostępu do kart HCA/NIC Mellanox.
 	--enable-adb-generic-tools \
 	--enable-cables \
 	--enable-cs \
+	%{?with_dpa:--enable-dpa} \
 	--enable-fw-mgr \
 	--enable-i2c \
 	--enable-ibdump \
@@ -115,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/mstconfig
 %attr(755,root,root) %{_bindir}/mstcongestion
 %attr(755,root,root) %{_bindir}/mstdevices_info
+%if %{with dpa}
+%attr(755,root,root) %{_bindir}/mstdpa
+%endif
 %attr(755,root,root) %{_bindir}/mstefuse
 %attr(755,root,root) %{_bindir}/mstflint
 %attr(755,root,root) %{_bindir}/mstfwctrl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mstflint.git/commitdiff/f4ce6bb400d67c2fdc623360c8748563761c2e7a



More information about the pld-cvs-commit mailing list