git: 3bf9e84f0875 - main - Stand: Silence undefined symbols check command

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 01 Jul 2023 17:17:40 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=3bf9e84f0875a40e2bcffd87e65861de0424e154

commit 3bf9e84f0875a40e2bcffd87e65861de0424e154
Author:     VexedUXR <ahmadkhalifa570@gmail.com>
AuthorDate: 2023-07-01 17:16:44 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-07-01 17:16:58 +0000

    Stand: Silence undefined symbols check command
    
    No need to print this...
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/786
---
 stand/efi/boot1/Makefile  | 2 +-
 stand/efi/loader/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile
index 9ae86b36989e..04c573137e92 100644
--- a/stand/efi/boot1/Makefile
+++ b/stand/efi/boot1/Makefile
@@ -93,7 +93,7 @@ DPADD+=		${LDSCRIPT}
 CLEANFILES+=	${BOOT1}.efi
 
 ${BOOT1}.efi: ${PROG}
-	if ${NM} ${.ALLSRC} | grep ' U '; then \
+	@if ${NM} ${.ALLSRC} | grep ' U '; then \
 		echo "Undefined symbols in ${.ALLSRC}"; \
 		exit 1; \
 	fi
diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
index 2de55a29813f..cf0800c5b28d 100644
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -110,7 +110,7 @@ LDFLAGS+=	-Wl,--no-dynamic-linker
 CLEANFILES+=	${LOADER}.efi
 
 ${LOADER}.efi: ${PROG}
-	if ${NM} ${.ALLSRC} | grep ' U '; then \
+	@if ${NM} ${.ALLSRC} | grep ' U '; then \
 		echo "Undefined symbols in ${.ALLSRC}"; \
 		exit 1; \
 	fi