diff options
author | Stephen J. Kiernan <stevek@FreeBSD.org> | 2024-04-03 21:22:01 +0000 |
---|---|---|
committer | Stephen J. Kiernan <stevek@FreeBSD.org> | 2024-04-03 23:09:43 +0000 |
commit | 112783ebbc313f0df73bbec8520a94aba4a4f33d (patch) | |
tree | de0d76aea8bf95650c06cab7e4b25061d1a1f2a7 /stand | |
parent | 6b454da6bbaa3327cf9b7185d198c96ffc1b88f4 (diff) | |
download | src-112783ebbc313f0df73bbec8520a94aba4a4f33d.tar.gz src-112783ebbc313f0df73bbec8520a94aba4a4f33d.zip |
userboot: allow for overriding the version file location
Use ?= when assigning VERSION_FILE
Reviewed by: imp
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D44624
Diffstat (limited to 'stand')
-rw-r--r-- | stand/userboot/userboot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/userboot/userboot/Makefile b/stand/userboot/userboot/Makefile index 15ac8701e4d4..4674672bbec5 100644 --- a/stand/userboot/userboot/Makefile +++ b/stand/userboot/userboot/Makefile @@ -44,7 +44,7 @@ CFLAGS.main.c+= -I${SYSDIR}/contrib/openzfs/include/os/freebsd/zfs CWARNFLAGS.main.c += -Wno-implicit-function-declaration NEWVERSWHAT= "User boot ${LOADER_INTERP}" ${MACHINE_CPUARCH} -VERSION_FILE= ${.CURDIR}/../userboot/version +VERSION_FILE?= ${.CURDIR}/../userboot/version .if ${LOADER_INTERP} == ${LOADER_DEFAULT_INTERP} LINKS+= ${BINDIR}/${SHLIB_NAME} ${BINDIR}/userboot.so |