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:
Warner Losh 2003-08-27 04:49:43 +00:00
parent a1e145b47d
commit c3754771d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119496

View File

@ -127,7 +127,7 @@ MAKEOBJDIRPREFIX?= /usr/obj
OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
/usr/include/osreldate.h
.else
OSRELDATE!= sysctl -n kern.osreldate
OSRELDATE= 0
.endif
.endif
TARGET_ARCH?= ${MACHINE_ARCH}