Module Name: src Committed By: christos Date: Sun Dec 20 22:48:00 UTC 2015
Modified Files: src/distrib/common: Makefile.image Log Message: Add MKREPRO_TIMESTAMP support to the makefs invocation. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/distrib/common/Makefile.image Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/common/Makefile.image diff -u src/distrib/common/Makefile.image:1.38 src/distrib/common/Makefile.image:1.39 --- src/distrib/common/Makefile.image:1.38 Tue Aug 12 07:48:22 2014 +++ src/distrib/common/Makefile.image Sun Dec 20 17:47:59 2015 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.image,v 1.38 2014/08/12 11:48:22 martin Exp $ +# $NetBSD: Makefile.image,v 1.39 2015/12/20 22:47:59 christos Exp $ # # Makefile snippet to build a tree from the provided lists, # and make an ffs file system image from that tree @@ -41,6 +41,10 @@ PARSELISTENV+= TARGETDIR=${.OBJDIR}/${WO GZIP_FLAGS= -9 ${GZIP_N_FLAG} +.if ${MKREPRO_TIMESTAMP:Uno} != "no" +MAKEFS_TIMESTAMP=-T "${MKREPRO_TIMESTAMP}" +.endif + .if !target(${WORKBUILT}) # { ${WORKBUILT}: ${IMAGEDEPENDS} ${WORKSPEC} ${PARSELISTDEP} ${LISTS} # There is a .PHONY ${CRUNCHBIN}, so check if out of date by hand @@ -93,7 +97,7 @@ ${IMAGE}: ${WORKBUILT} ${_MKSHMSG_CREATE} ${.CURDIR:T}/${.TARGET}; \ rm -f ${.TARGET} ${.TARGET}.tmp; \ ${TOOL_MAKEFS} -t ffs -B ${IMAGEENDIAN} -s ${IMAGESIZE} -F ${WORKSPEC} \ - -N ${NETBSDSRCDIR}/etc ${IMGMAKEFSOPTIONS} \ + ${MAKEFS_TIMESTAMP} -N ${NETBSDSRCDIR}/etc ${IMGMAKEFSOPTIONS} \ -o optimization=space,minfree=0 \ ${MAKEFS_FLAGS} ${.TARGET}.tmp ${WORKDIR} \ && mv -f ${.TARGET}.tmp ${.TARGET}; \