summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2013-10-22 23:37:54 +0000
committergjb <gjb@FreeBSD.org>2013-10-22 23:37:54 +0000
commit11a75eb16653904a69065dc9eb2c02c32ed449c2 (patch)
tree91ea014ef91994cbe7cb0862b12717ed1bcf1d4b /Makefile.inc1
parent3f78c32610ee2416873e312c436f7460914a4935 (diff)
downloadFreeBSD-src-11a75eb16653904a69065dc9eb2c02c32ed449c2.zip
FreeBSD-src-11a75eb16653904a69065dc9eb2c02c32ed449c2.tar.gz
Revert r256944, which does not quite get the src/ directory correct.
Discussed with: cperciva Approved by: re (implicit) Pointyhat: gjb
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc17
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ea722fa..ac10c2b 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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
OpenPOWER on IntegriCloud