Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/common/bootimage use the same logic to compute the t...
details: https://anonhg.NetBSD.org/src/rev/6a01c363e0f7
branches: trunk
changeset: 350845:6a01c363e0f7
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 24 18:01:07 2017 +0000
description:
use the same logic to compute the timestamp like the other files
diffstat:
distrib/common/bootimage/Makefile.bootimage | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 5e5740ff9c89 -r 6a01c363e0f7 distrib/common/bootimage/Makefile.bootimage
--- a/distrib/common/bootimage/Makefile.bootimage Tue Jan 24 17:54:52 2017 +0000
+++ b/distrib/common/bootimage/Makefile.bootimage Tue Jan 24 18:01:07 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootimage,v 1.12 2015/11/25 00:50:57 christos Exp $
+# $NetBSD: Makefile.bootimage,v 1.13 2017/01/24 18:01:07 christos Exp $
#
# Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved.
#
@@ -127,8 +127,8 @@
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
-.if ${MKREPRO:Uno} == "yes"
-TIMESTAMP=-T ${NETBSDSRCDIR}/sys/sys/param.h
+.if ${MKREPRO_TIMESTAMP:Uno} != "no"
+MAKEFS_TIMESTAMP=-T "${MKREPRO_TIMESTAMP}"
.endif
.if empty(IMGBASE)
@@ -296,7 +296,7 @@
${TOOL_MAKEFS} -M ${FSSIZE} -m ${FSSIZE} \
-B ${TARGET_ENDIANNESS} \
-F ${WORKSPEC} -N ${WORKDIR}/etc \
- ${TIMESTAMP} \
+ ${MAKEFS_TIMESTAMP} \
${IMGMAKEFSOPTIONS} \
${WORKFS} ${WORKDIR}
.if !empty(PRIMARY_BOOT) && ${INSTALLBOOT_AFTER_DISKLABEL} == "no"
Home |
Main Index |
Thread Index |
Old Index