Source-Changes-HG archive

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

[src/trunk]: src/share/mk Reverse the sense of the check for new-toolchain pl...



details:   https://anonhg.NetBSD.org/src/rev/f62022ae25b7
branches:  trunk
changeset: 521304:f62022ae25b7
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jan 28 00:37:25 2002 +0000

description:
Reverse the sense of the check for new-toolchain platforms.  Instead,
list the MACHINE_ARCHs and MACHINEs that have NOT yet converted to
the new-toolchain.

diffstat:

 share/mk/bsd.own.mk |  27 +++++++++------------------
 1 files changed, 9 insertions(+), 18 deletions(-)

diffs (41 lines):

diff -r 015e81ecc418 -r f62022ae25b7 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Mon Jan 28 00:10:04 2002 +0000
+++ b/share/mk/bsd.own.mk       Mon Jan 28 00:37:25 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.258 2002/01/27 23:33:51 ross Exp $
+#      $NetBSD: bsd.own.mk,v 1.259 2002/01/28 00:37:25 thorpej Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -15,23 +15,14 @@
 .if defined(USE_NEW_TOOLCHAIN) && ${USE_NEW_TOOLCHAIN} == "no"
 .undef USE_NEW_TOOLCHAIN
 .else
-.if ${MACHINE_ARCH} == "alpha" || \
-    ${MACHINE_ARCH} == "arm" || \
-    ${MACHINE_ARCH} == "i386" || \
-    ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel" || \
-    ${MACHINE_ARCH} == "powerpc" || \
-    ${MACHINE_ARCH} == "sparc" || \
-    ${MACHINE_ARCH} == "sparc64" || \
-    ${MACHINE_ARCH} == "x86_64" || \
-    ${MACHINE} == "next68k" || \
-    ${MACHINE} == "sun3" || \
-    ${MACHINE} == "mvme68k" || \
-    ${MACHINE} == "hp300" || \
-    ${MACHINE} == "news68k" || \
-    ${MACHINE} == "cesfic" || \
-    ${MACHINE} == "luna68k" || \
-    ${MACHINE} == "atari" || \
-    ${MACHINE} == "x68k"
+# List all the platforms that have NOT switched, since the majority have.
+.if !(${MACHINE_ARCH} == "arm32" || \
+      ${MACHINE_ARCH} == "ns32k" || \
+      ${MACHINE_ARCH} == "sh3eb" || ${MACHINE_ARCH} == "sh3el" || \
+      ${MACHINE_ARCH} == "vax"   || \
+      ${MACHINE} == "amiga"      || \
+      ${MACHINE} == "mac68k"     || \
+      ${MACHINE} == "sun2")
 USE_NEW_TOOLCHAIN=nowarn
 .endif
 .endif



Home | Main Index | Thread Index | Old Index