Source-Changes-HG archive

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

[src/trunk]: src/gnu/usr.bin/ld.new Add m68k bits, but only build it if using...



details:   https://anonhg.NetBSD.org/src/rev/9930b5449922
branches:  trunk
changeset: 472488:9930b5449922
user:      kleink <kleink%NetBSD.org@localhost>
date:      Fri Apr 30 15:12:57 1999 +0000

description:
Add m68k bits, but only build it if using ELF.

diffstat:

 gnu/usr.bin/ld.new/Makefile |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r 23110ecd0609 -r 9930b5449922 gnu/usr.bin/ld.new/Makefile
--- a/gnu/usr.bin/ld.new/Makefile       Fri Apr 30 15:08:33 1999 +0000
+++ b/gnu/usr.bin/ld.new/Makefile       Fri Apr 30 15:12:57 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 1999/03/17 00:46:36 thorpej Exp $
+#      $NetBSD: Makefile,v 1.12 1999/04/30 15:12:57 kleink Exp $
 
 # for OBJECT_FMT
 .include <bsd.own.mk>
@@ -9,6 +9,7 @@
 
 .if (${MACHINE_ARCH} == "alpha") || \
     (${MACHINE_ARCH} == "i386" && defined(ELF_PLEASE)) || \
+    (${MACHINE_ARCH} == "m68k" && defined(ELF_PLEASE)) || \
     (${MACHINE_ARCH} == "mipseb") || \
     (${MACHINE_ARCH} == "mipsel") || \
     (${MACHINE_ARCH} == "powerpc") || \
@@ -51,6 +52,14 @@
 DEFAULT_EMUL.i386=     i386nbsd
 .endif
 
+##### m68k #####
+EMULS.m68k=            m68knbsd m68kelf
+.if defined(ELF_PLEASE)
+DEFAULT_EMUL.m68k=     m68kelf
+.else
+DEFAULT_EMUL.m68k=     m68knbsd
+.endif
+
 ##### mipseb #####
 EMULS.mipseb=          elf32lmip elf32bmip
 DEFAULT_EMUL.mipseb=   elf32bmip
@@ -75,7 +84,7 @@
 EMULS.sparc64=         elf64_sparc sparcnbsd elf32_sparc sun4
 DEFAULT_EMUL.sparc64=  elf64_sparc
 
-ALL_EMULS!=            (for i in ${EMULS.alpha} ${EMULS.i386} \
+ALL_EMULS!=            (for i in ${EMULS.alpha} ${EMULS.i386} ${EMULS.m68k} \
                        ${EMULS.mipseb} ${EMULS.mipsel} ${EMULS.powerpc} \
                        ${EMULS.sparc} ${EMULS.sparc64}; do echo $$i; done) | \
                        sort | uniq



Home | Main Index | Thread Index | Old Index