Module Name: src
Committed By: christos
Date: Wed Mar 20 00:33:42 UTC 2024
Modified Files:
src/distrib/hppa/kernel: Makefile
Log Message:
Fix reproducible builds (Jan-Benedict Glaw)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/hppa/kernel/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/hppa/kernel/Makefile
diff -u src/distrib/hppa/kernel/Makefile:1.1 src/distrib/hppa/kernel/Makefile:1.2
--- src/distrib/hppa/kernel/Makefile:1.1 Mon Feb 24 02:23:38 2014
+++ src/distrib/hppa/kernel/Makefile Tue Mar 19 20:33:42 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/02/24 07:23:38 skrll Exp $
+# $NetBSD: Makefile,v 1.2 2024/03/20 00:33:42 christos Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -13,8 +13,12 @@ MDSET_RELEASEDIR= binary/kernel
LIF= netinstall.lif
+.if ${MKREPRO_TIMESTAMP:Uno} != "no"
+MKBOOT_TIMESTAMP= -t "${MKREPRO_TIMESTAMP}"
+.endif
+
MDSET_POST = \
- ${MKBOOT} ${DESTDIR}/usr/mdec/boot ${.TARGET} ${LIF}
+ ${MKBOOT} ${MKBOOT_TIMESTAMP} ${DESTDIR}/usr/mdec/boot ${.TARGET} ${LIF}
.include "${DISTRIBDIR}/common/Makefile.mdset"