pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

u-boot-tools: ensure successful error code when testing mkimage



Module Name:	pkgsrc-wip
Committed By:	Brook Milligan <brook%nmsu.edu@localhost>
Pushed By:	brook
Date:		Sat Jun 22 19:39:05 2024 -0600
Changeset:	619992557edd451b3db0cd1de8d620242cdd5a19

Modified Files:
	u-boot-tools/Makefile

Log Message:
u-boot-tools: ensure successful error code when testing mkimage

The tool mkimage does not have a suitable "help" command line option,
e.g., -h.  For now make test runs mkimage with no command line
options, which is an error.  Prevent make from detecting and reporting
this error.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=619992557edd451b3db0cd1de8d620242cdd5a19

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 u-boot-tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/u-boot-tools/Makefile b/u-boot-tools/Makefile
index 6c663a3fab..1d67bd2009 100644
--- a/u-boot-tools/Makefile
+++ b/u-boot-tools/Makefile
@@ -28,7 +28,7 @@ do-install:
 
 do-test:
 	${WRKSRC}/tools/dumpimage -h
-	${WRKSRC}/tools/mkimage -h
+	${WRKSRC}/tools/mkimage || ${TRUE}
 
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"


Home | Main Index | Thread Index | Old Index