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
This commit is contained in:
Simon J. Gerraty 2024-03-18 16:14:15 -07:00
parent 8f13abb4fd
commit 01f3abbfcd

View File

@ -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