git: 83bae397799c - stable/14 - uboot/Makefile move BINDIR

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 20:13:37 UTC
The branch stable/14 has been updated by imp:

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

commit 83bae397799c4480e9712f03aff62d6f4fa447fe
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2024-03-18 23:14:15 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-16 19:54:29 +0000

    uboot/Makefile move BINDIR
    
    Set BINDIR before we include bsd.init.mk
    so we can override it via local.init.mk
    
    Reviewed by:    imp
    Sponsored by:   Juniper Networks, Inc.
    Differential Revision:  https://reviews.freebsd.org/D44413
    
    (cherry picked from commit 01f3abbfcd59848e37118e5e2b868a7b3e98cc62)
---
 stand/uboot/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/stand/uboot/Makefile b/stand/uboot/Makefile
index ccd02c44957f..791cfcb47bfe 100644
--- a/stand/uboot/Makefile
+++ b/stand/uboot/Makefile
@@ -10,6 +10,8 @@ LOADER_GZIP_SUPPORT?=	no
 LOADER_BZIP2_SUPPORT?=	no
 LOADER_DISK_SUPPORT?=	yes
 
+BINDIR= 	/boot/uboot
+
 .include <bsd.init.mk>
 
 .include "${.CURDIR}/arch/${MACHINE_CPUARCH}/Makefile.inc"
@@ -22,7 +24,6 @@ PROG=		ubldr
 .endif
 
 NEWVERSWHAT=	"U-Boot loader" ${MACHINE_ARCH}
-BINDIR= 	/boot/uboot
 INSTALLFLAGS=	-b
 WARNS?=		1