git: dcc7b3698d03 - main - loader: Allow overriding NEWVERSWHAT

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 29 May 2024 14:29:50 UTC
The branch main has been updated by imp:

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

commit dcc7b3698d03b2aedc68e88b4e05a0b32b435429
Author:     Ahmad Khalifa <ahmadkhalifa570@gmail.com>
AuthorDate: 2024-05-29 14:28:13 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-29 14:29:30 +0000

    loader: Allow overriding NEWVERSWHAT
    
    This can be useful when making alternate versions of the loader.
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1098
---
 stand/efi/loader/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
index b3395bdfdf53..946ea0937de0 100644
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -81,7 +81,7 @@ CFLAGS+=	-DEFI_STAGING_SIZE=${EFI_STAGING_SIZE}
 CFLAGS+= -DEFI_SECUREBOOT
 .endif
 
-NEWVERSWHAT=	"EFI loader" ${MACHINE}
+NEWVERSWHAT?=	"EFI loader" ${MACHINE}
 VERSION_FILE=	${.CURDIR}/../loader/version
 HELP_FILENAME=	loader.help.efi