Wed May 26 20:22:28 2021 UTC ()
use the date tool


(christos)
diff -r1.449 -r1.450 src/etc/Makefile

cvs diff -r1.449 -r1.450 src/etc/Makefile (expand / switch to unified diff)

--- src/etc/Makefile 2020/12/29 16:46:44 1.449
+++ src/etc/Makefile 2021/05/26 20:22:28 1.450
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.449 2020/12/29 16:46:44 martin Exp $ 1# $NetBSD: Makefile,v 1.450 2021/05/26 20:22:28 christos Exp $
2# from: @(#)Makefile 8.7 (Berkeley) 5/25/95 2# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
3 3
4# Environment variables without default values: 4# Environment variables without default values:
5# DESTDIR must be set before anything in this file will work. 5# DESTDIR must be set before anything in this file will work.
6# RELEASEDIR is where the tarred up stuff for a snapshot or 6# RELEASEDIR is where the tarred up stuff for a snapshot or
7# release will be placed. 7# release will be placed.
8# 8#
9# Environment variables with default values: 9# Environment variables with default values:
10# LOCALTIME will set the default local time for the system you 10# LOCALTIME will set the default local time for the system you
11# build; it determines what /etc/localtime is symlink'd to. 11# build; it determines what /etc/localtime is symlink'd to.
12# KERNSRCDIR points to kernel source; it is set by default to ../sys, 12# KERNSRCDIR points to kernel source; it is set by default to ../sys,
13# but can be overridden. 13# but can be overridden.
14# KERNOBJDIR is the kernel build directory, it defaults to 14# KERNOBJDIR is the kernel build directory, it defaults to
@@ -67,27 +67,27 @@ MKISOFS_FLAGS+= -quiet @@ -67,27 +67,27 @@ MKISOFS_FLAGS+= -quiet
67.endif 67.endif
68  68
69# Reproducible build parameters 69# Reproducible build parameters
70.if ${MKREPRO:Uno} == "no" 70.if ${MKREPRO:Uno} == "no"
71BUILDER!= echo $${USER-root}@$$(hostname) 71BUILDER!= echo $${USER-root}@$$(hostname)
72.else 72.else
73BUILDER= builder@localhost.NetBSD.org 73BUILDER= builder@localhost.NetBSD.org
74.endif 74.endif
75.if ${MKREPRO_TIMESTAMP:Uno} == "no" 75.if ${MKREPRO_TIMESTAMP:Uno} == "no"
76PAX_TIMESTAMP= 76PAX_TIMESTAMP=
77BUILD_DATE!= date -u 77BUILD_DATE!= date -u
78.else 78.else
79PAX_TIMESTAMP=--timestamp "${MKREPRO_TIMESTAMP}" 79PAX_TIMESTAMP=--timestamp "${MKREPRO_TIMESTAMP}"
80BUILD_DATE!= date -u -r "${MKREPRO_TIMESTAMP}" 80BUILD_DATE!= ${TOOL_DATE} -u -r "${MKREPRO_TIMESTAMP}"
81.endif 81.endif
82 82
83# MD Makefile.inc may append MD targets to BIN[123]. Make sure all 83# MD Makefile.inc may append MD targets to BIN[123]. Make sure all
84# are empty, to preserve the old semantics of setting them below with "+=". 84# are empty, to preserve the old semantics of setting them below with "+=".
85# 85#
86BIN1= 86BIN1=
87BIN2= 87BIN2=
88BIN3= 88BIN3=
89 89
90# Directories to build in ${RELEASEDIR}/${RELEASEMACHINEDIR}. 90# Directories to build in ${RELEASEDIR}/${RELEASEMACHINEDIR}.
91# MD Makefile.inc files can add to this. 91# MD Makefile.inc files can add to this.
92# NOTE: Parent directories must be listed before subdirectories. 92# NOTE: Parent directories must be listed before subdirectories.
93# 93#