git: 0f97a0d425cf - main - stand/efi: Clean the proper files

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 15 Sep 2022 15:16:07 UTC
The branch main has been updated by imp:

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

commit 0f97a0d425cf0c7fa3966e64b4f88e67a2ee2982
Author:     Guido van Rooij <guido@FreeBSD.org>
AuthorDate: 2022-09-15 15:10:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-09-15 15:13:52 +0000

    stand/efi: Clean the proper files
    
    Need to clean the specific loader we build, not the generic loader.efi
    
    Reviewed by: imp
---
 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 e6083c2dd450..2aaba4fbb377 100644
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -105,7 +105,7 @@ LDFLAGS+=	-Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -pie
 LDFLAGS+=	-Wl,--no-dynamic-linker
 .endif
 
-CLEANFILES+=	loader.efi
+CLEANFILES+=	${LOADER}.efi
 
 ${LOADER}.efi: ${PROG}
 	if ${NM} ${.ALLSRC} | grep ' U '; then \