Source-Changes-HG archive

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

[src/trunk]: src/distrib handle mipsn64



details:   https://anonhg.NetBSD.org/src/rev/e52c8936a79a
branches:  trunk
changeset: 378836:e52c8936a79a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 25 23:40:05 2021 +0000

description:
handle mipsn64

diffstat:

 distrib/cobalt/instkernel/Makefile             |  4 ++--
 distrib/evbmips/instkernel/instkernel/Makefile |  6 +++---
 distrib/evbmips/instkernel/ramdisk/Makefile    |  4 ++--
 distrib/pmax/instkernel/Makefile               |  4 ++--
 distrib/pmax/miniroot/Makefile.inc             |  4 ++--
 distrib/pmax/ramdisk/Makefile                  |  4 ++--
 6 files changed, 13 insertions(+), 13 deletions(-)

diffs (106 lines):

diff -r 5679169c9419 -r e52c8936a79a distrib/cobalt/instkernel/Makefile
--- a/distrib/cobalt/instkernel/Makefile        Sun Apr 25 23:38:40 2021 +0000
+++ b/distrib/cobalt/instkernel/Makefile        Sun Apr 25 23:40:05 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2011/02/20 08:26:08 matt Exp $
+#      $NetBSD: Makefile,v 1.3 2021/04/25 23:40:05 christos Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -6,7 +6,7 @@
 RAMDISKDIR!=   cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
 RAMDISK=       ${RAMDISKDIR}/ramdisk.fs
 
-.if ${MACHINE_ARCH} == "mips64el"
+.if !empty(MACHINE_ARCH:Mmips*64el)
 SFX=           64
 .endif
 
diff -r 5679169c9419 -r e52c8936a79a distrib/evbmips/instkernel/instkernel/Makefile
--- a/distrib/evbmips/instkernel/instkernel/Makefile    Sun Apr 25 23:38:40 2021 +0000
+++ b/distrib/evbmips/instkernel/instkernel/Makefile    Sun Apr 25 23:40:05 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2020/07/15 12:15:30 simonb Exp $
+#      $NetBSD: Makefile,v 1.8 2021/04/25 23:40:05 christos Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -12,12 +12,12 @@ MDSETTARGETS=               INSTALL_CI20            ${RAMDISK}      
 MDSETTARGETS+=         INSTALL_OMSAL400        ${RAMDISK}      -
 MDSETTARGETS+=         INSTALL_MALTA           ${RAMDISK}      -
 
-.elif ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
+.elif ${MACHINE_MIPS64}
 MDSETTARGETS=          INSTALL_MALTA32         ${RAMDISK}      -
 MDSETTARGETS+=         INSTALL_MALTA64         ${RAMDISK}      -
 MDSETTARGETS+=         INSTALL_XLSATX32        ${RAMDISK}      -
 MDSETTARGETS+=         INSTALL_XLSATX64        ${RAMDISK}      -
-.if ${MACHINE_ARCH} == "mips64el"
+.if !empty(MACHINE_ARCH:Mmips*64el)
 MDSETTARGETS+=         INSTALL_LOONGSON        ${RAMDISK}      -
 .else
 MDSETTARGETS+=         INSTALL_OCTEON          ${RAMDISK}      -
diff -r 5679169c9419 -r e52c8936a79a distrib/evbmips/instkernel/ramdisk/Makefile
--- a/distrib/evbmips/instkernel/ramdisk/Makefile       Sun Apr 25 23:38:40 2021 +0000
+++ b/distrib/evbmips/instkernel/ramdisk/Makefile       Sun Apr 25 23:40:05 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2020/01/09 20:07:46 martin Exp $
+#      $NetBSD: Makefile,v 1.15 2021/04/25 23:40:05 christos Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -13,7 +13,7 @@ DBG=          -Os
 CRUNCHBIN=     ramdiskbin
 LISTS=         ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
 MTREECONF=     ${DISTRIBDIR}/common/mtree.common
-.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mips64el"
+.if !empty(MACHINE_ARCH:M*el)
 IMAGEENDIAN=   le
 .else
 IMAGEENDIAN=   be
diff -r 5679169c9419 -r e52c8936a79a distrib/pmax/instkernel/Makefile
--- a/distrib/pmax/instkernel/Makefile  Sun Apr 25 23:38:40 2021 +0000
+++ b/distrib/pmax/instkernel/Makefile  Sun Apr 25 23:40:05 2021 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile,v 1.44 2020/08/16 11:43:36 mrg Exp $
+#      $NetBSD: Makefile,v 1.45 2021/04/25 23:40:05 christos Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
 
 .include <bsd.kernobj.mk>
 
-.if ${MACHINE_ARCH} == "mips64el"
+.if !empty(MACHINE_ARCH:Mmips*64el)
 SFX=           64
 .endif
 
diff -r 5679169c9419 -r e52c8936a79a distrib/pmax/miniroot/Makefile.inc
--- a/distrib/pmax/miniroot/Makefile.inc        Sun Apr 25 23:38:40 2021 +0000
+++ b/distrib/pmax/miniroot/Makefile.inc        Sun Apr 25 23:40:05 2021 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile.inc,v 1.25 2017/01/24 18:04:04 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.26 2021/04/25 23:40:05 christos Exp $
 
-.if ${MACHINE_ARCH} == "mips64el"
+.if !empty(MACHINE_ARCH:Mmips*64el)
 SFX=           64
 .endif
 
diff -r 5679169c9419 -r e52c8936a79a distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile     Sun Apr 25 23:38:40 2021 +0000
+++ b/distrib/pmax/ramdisk/Makefile     Sun Apr 25 23:40:05 2021 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile,v 1.54 2020/09/07 09:05:10 mrg Exp $
+#      $NetBSD: Makefile,v 1.55 2021/04/25 23:40:06 christos Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
 
 IMAGE=         ramdisk.fs
 IMAGETAR=      diskimage.tgz
-.if ${MACHINE_ARCH} == "mips64el"
+.if !empty(MACHINE_ARCH:Mmips*64el)
 IMAGESIZE=     4500k
 .else
 IMAGESIZE=     4200k



Home | Main Index | Thread Index | Old Index