OSRELDATE should fallback to 'unknown' rather than the kernel that's
booted on this machine. This is a slightly better default to use. Requested by: ru
This commit is contained in:
parent
a1e145b47d
commit
c3754771d8
@ -127,7 +127,7 @@ MAKEOBJDIRPREFIX?= /usr/obj
|
|||||||
OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
|
OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
|
||||||
/usr/include/osreldate.h
|
/usr/include/osreldate.h
|
||||||
.else
|
.else
|
||||||
OSRELDATE!= sysctl -n kern.osreldate
|
OSRELDATE= 0
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
TARGET_ARCH?= ${MACHINE_ARCH}
|
TARGET_ARCH?= ${MACHINE_ARCH}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user