NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/57923: [RB] evbmips: Use $MKREPRO_TIMESTAMP for mkubootimage
>Number: 57923
>Category: misc
>Synopsis: [RB] evbmips: Use $MKREPRO_TIMESTAMP for mkubootimage
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 11 00:35:00 +0000 2024
>Originator: Jan-Benedict Glaw
>Release: current
>Organization:
>Environment:
>Description:
One more fix for reproducible builds, this is found for evbmips/mipseb.
>How-To-Repeat:
Build twice, compare build artifacts.
>Fix:
diff --git a/sys/arch/evbmips/conf/Makefile.evbmips.inc b/sys/arch/evbmips/conf/Makefile.evbmips.inc
index d5cf3bb16024..d1856abcb914 100644
--- a/sys/arch/evbmips/conf/Makefile.evbmips.inc
+++ b/sys/arch/evbmips/conf/Makefile.evbmips.inc
@@ -39,6 +39,9 @@ MKUBOOTIMAGEARGS+= -E $(TEXTADDR)
MKUBOOTIMAGEARGS+= -e $(TEXTADDR)
.endif
MKUBOOTIMAGEARGS+= -n "$(MACHINE) ${_OSRELEASE} ($(KERNEL_BUILD:T))"
+.if ${MKREPRO_TIMESTAMP:Uno} != "no"
+MKUBOOTIMAGEARGS+= -t "${MKREPRO_TIMESTAMP}"
+.endif
.if ${NEED_UBOOTIMAGE:Mgz} == "gz"
MKUBOOTIMAGEARGS+= -C gz
Home |
Main Index |
Thread Index |
Old Index