NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/57924: [RB] evbppc/powerpc Use $MKREPRO_TIMESTAMP for mkubootimage



>Number:         57924
>Category:       misc
>Synopsis:       [RB] evbppc/powerpc 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:40:00 +0000 2024
>Originator:     Jan-Benedict Glaw
>Release:        current
>Organization:
>Environment:
>Description:
Comparing build results, we get timestamps in evbppc/powerpc output.
>How-To-Repeat:
Build twice and compare the resulting build artifacts.
>Fix:
diff --git a/sys/arch/evbppc/conf/Makefile.obs405.inc b/sys/arch/evbppc/conf/Makefile.obs405.inc
index ba08124341de..3481b71cf8f5 100644
--- a/sys/arch/evbppc/conf/Makefile.obs405.inc
+++ b/sys/arch/evbppc/conf/Makefile.obs405.inc
@@ -49,6 +49,9 @@ MKUBOOTIMAGE=         mkubootimage
 MKUBOOTIMAGEARGS=      -A powerpc -T kernel
 MKUBOOTIMAGEARGS+=     -a $(TEXTADDR)
 MKUBOOTIMAGEARGS+=     -n "NetBSD/openblocks600 ${_OSRELEASE}"
+.if ${MKREPRO_TIMESTAMP:Uno} != "no"
+MKUBOOTIMAGEARGS+= -t "${MKREPRO_TIMESTAMP}"
+.endif
 MKUBOOTIMAGEARGS_NONE=  ${MKUBOOTIMAGEARGS} -C none
 MKUBOOTIMAGEARGS_GZ=    ${MKUBOOTIMAGEARGS} -C gz
 



Home | Main Index | Thread Index | Old Index