Module Name:    src
Committed By:   rin
Date:           Mon Dec  2 09:58:08 UTC 2024

Modified Files:
        src/sys/stand/efiboot: Makefile.efiboot

Log Message:
stand/efiboot: Enable to override `DEFAULT_TIMEOUT`

by `EFIBOOT_TIMEOUT` make(1) variable.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/stand/efiboot/Makefile.efiboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/stand/efiboot/Makefile.efiboot
diff -u src/sys/stand/efiboot/Makefile.efiboot:1.30 src/sys/stand/efiboot/Makefile.efiboot:1.31
--- src/sys/stand/efiboot/Makefile.efiboot:1.30	Sat Jan 20 11:04:53 2024
+++ src/sys/stand/efiboot/Makefile.efiboot	Mon Dec  2 09:58:08 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.efiboot,v 1.30 2024/01/20 11:04:53 kre Exp $
+# $NetBSD: Makefile.efiboot,v 1.31 2024/12/02 09:58:08 rin Exp $
 
 S=		${.CURDIR}/../../..
 
@@ -92,7 +92,9 @@ CPPFLAGS+= -DSUPPORT_TFTP
 CPPFLAGS+= -DLIBSA_ENABLE_LS_OP
 CPPFLAGS+= -DLIBSA_FFS_EI
 CPPFLAGS+= -DLIBSA_DISKLABEL_EI
-CPPFLAGS+= -DDEFAULT_TIMEOUT=5
+
+EFIBOOT_TIMEOUT?=5
+CPPFLAGS+= -DDEFAULT_TIMEOUT=${EFIBOOT_TIMEOUT}
 
 #CPPFLAGS+= -DEFIBOOT_DEBUG
 #CPPFLAGS+= -DARP_DEBUG

Reply via email to