mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Define FREEBSD_VERSION in release/Makefile, derived
from sys/sys/param.h. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6df0b7b485
commit
7bdb2409ca
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,10 @@ TARGET_ARCH= ${TARGET}
|
|||
IMAKE= ${MAKE} TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}
|
||||
DISTDIR= dist
|
||||
|
||||
# Get the __FreeBSD_version for the build
|
||||
FREEBSD_VERSION!= awk '/^\#define __FreeBSD_version/ {print $$3}' \
|
||||
${.CURDIR}/../sys/sys/param.h
|
||||
|
||||
# Define OSRELEASE by using newvars.sh
|
||||
.if !defined(OSRELEASE) || empty(OSRELEASE)
|
||||
.for _V in TYPE BRANCH REVISION
|
||||
|
|
|
|||
Loading…
Reference in a new issue