git: 01f3abbfcd59 - main - uboot/Makefile move BINDIR

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 23:15:35 UTC
The branch main has been updated by sjg:

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

commit 01f3abbfcd59848e37118e5e2b868a7b3e98cc62
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2024-03-18 23:14:15 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2024-03-18 23:14:15 +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
---
 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