Revert r256921 to prevent error output when in the wrong directory.

This should have been reverted with the stable/10/Makefile.inc1
revert, but apparently my commit did not go through.

Discussed with:	cperciva (originally)
This commit is contained in:
Glen Barber 2013-10-24 15:00:19 +00:00
parent 863527800c
commit 44c38c2ca3

View File

@ -128,11 +128,8 @@ OSRELDATE= 0
.endif
.if !defined(VERSION)
REVISION!= make -C ${.CURDIR}/release -V REVISION
BRANCH!= make -C ${.CURDIR}/release -V BRANCH
SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
${.CURDIR}/sys/sys/param.h
VERSION= FreeBSD ${REVISION}-${BRANCH} ${TARGET_ARCH} ${SRCRELDATE}
VERSION!= uname -srp
VERSION+= ${OSRELDATE}
.endif
KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64