Module Name: src
Committed By: lukem
Date: Fri Jun 2 14:25:36 UTC 2023
Modified Files:
src/etc/etc.hp300: Makefile.inc
src/etc/etc.sparc64: Makefile.inc
Log Message:
etc.hp300, etc.sparc64: fix MKUPDATE handling
UPDATE was replaced with MKUPDATE 20 years ago,
but these directories were missed in the conversion.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/etc/etc.hp300/Makefile.inc
cvs rdiff -u -r1.32 -r1.33 src/etc/etc.sparc64/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/etc.hp300/Makefile.inc
diff -u src/etc/etc.hp300/Makefile.inc:1.21 src/etc/etc.hp300/Makefile.inc:1.22
--- src/etc/etc.hp300/Makefile.inc:1.21 Tue Mar 18 04:20:37 2008
+++ src/etc/etc.hp300/Makefile.inc Fri Jun 2 14:25:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.21 2008/03/18 04:20:37 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.22 2023/06/02 14:25:35 lukem Exp $
#
# etc.hp300/Makefile.inc -- hp300-specific etc Makefile targets
#
@@ -14,7 +14,7 @@ INSTALLATION_DIRS+= installation/miniroo
installation/misc
snap_md_post:
-.ifndef UPDATE
+.if ${MKUPDATE} == "no"
cd ${KERNSRCDIR}/arch/hp300/stand && ${MAKE} cleandir
.endif
cd ${KERNSRCDIR}/arch/hp300/stand && \
Index: src/etc/etc.sparc64/Makefile.inc
diff -u src/etc/etc.sparc64/Makefile.inc:1.32 src/etc/etc.sparc64/Makefile.inc:1.33
--- src/etc/etc.sparc64/Makefile.inc:1.32 Sun Jan 15 17:36:55 2012
+++ src/etc/etc.sparc64/Makefile.inc Fri Jun 2 14:25:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.32 2012/01/15 17:36:55 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.33 2023/06/02 14:25:35 lukem Exp $
#
# etc.sparc64/Makefile.inc -- sparc64-specific etc Makefile targets
#
@@ -34,7 +34,7 @@ SPARC32=COPTS=-m32 LD="ld -m elf32_sparc
(cd ${NETBSDSRCDIR}/${_s64dir} && \
${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} obj)
.endif
-.ifndef UPDATE
+.if ${MKUPDATE} == "no"
(cd ${NETBSDSRCDIR}/${_s64dir} && ${MAKE} cleandir
.endif
(cd ${NETBSDSRCDIR}/${_s64dir} && \