Source-Changes-HG archive

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

[src/trunk]: src/etc etc.hp300, etc.sparc64: fix MKUPDATE handling



details:   https://anonhg.NetBSD.org/src/rev/22055e51fbcf
branches:  trunk
changeset: 376129:22055e51fbcf
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 02 14:25:35 2023 +0000

description:
etc.hp300, etc.sparc64: fix MKUPDATE handling

UPDATE was replaced with MKUPDATE 20 years ago,
but these directories were missed in the conversion.

diffstat:

 etc/etc.hp300/Makefile.inc   |  4 ++--
 etc/etc.sparc64/Makefile.inc |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b9d6dc6e12f7 -r 22055e51fbcf etc/etc.hp300/Makefile.inc
--- a/etc/etc.hp300/Makefile.inc        Fri Jun 02 14:21:55 2023 +0000
+++ b/etc/etc.hp300/Makefile.inc        Fri Jun 02 14:25:35 2023 +0000
@@ -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 && \
diff -r b9d6dc6e12f7 -r 22055e51fbcf etc/etc.sparc64/Makefile.inc
--- a/etc/etc.sparc64/Makefile.inc      Fri Jun 02 14:21:55 2023 +0000
+++ b/etc/etc.sparc64/Makefile.inc      Fri Jun 02 14:25:35 2023 +0000
@@ -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} && \



Home | Main Index | Thread Index | Old Index