Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mdsetimage Add sparc64 support for both sparc and s...



details:   https://anonhg.NetBSD.org/src/rev/cdf9dc611a80
branches:  trunk
changeset: 511572:cdf9dc611a80
user:      eeh <eeh%NetBSD.org@localhost>
date:      Thu Jun 21 22:57:25 2001 +0000

description:
Add sparc64 support for both sparc and sparc64:

ELF64 for 64-bit sparc64 kernels.
ELF32 for 32-bit sparc and sparc64 kernels.
a.out for old sparc kernels.

diffstat:

 usr.sbin/mdsetimage/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 0a6a0740e885 -r cdf9dc611a80 usr.sbin/mdsetimage/Makefile
--- a/usr.sbin/mdsetimage/Makefile      Thu Jun 21 22:41:55 2001 +0000
+++ b/usr.sbin/mdsetimage/Makefile      Thu Jun 21 22:57:25 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2001/05/01 20:35:19 matt Exp $
+#      $NetBSD: Makefile,v 1.10 2001/06/21 22:57:25 eeh Exp $
 
 .include <bsd.own.mk>
 
@@ -18,7 +18,6 @@
 CPPFLAGS+=-DNLIST_ELF32
 .elif  ${MACHINE_ARCH} == "i386" || \
        ${MACHINE_ARCH} == "m68k" || \
-       ${MACHINE_ARCH} == "sparc" || \
        ${MACHINE_ARCH} == "vax" || \
        ${MACHINE_CPU} == "arm"
 CPPFLAGS+=-DNLIST_ELF32
@@ -26,6 +25,11 @@
 .elif  ${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb"
 CPPFLAGS+=-DNLIST_COFF
 CPPFLAGS+=-DNLIST_ELF32
+.elif   ${MACHINE_ARCH} == "sparc" ||
+       ${MACHINE_ARCH} == "sparc64" 
+CPPFLAGS+=-DNLIST_ELF64
+CPPFLAGS+=-DNLIST_ELF32
+CPPFLAGS+=-DNLIST_AOUT
 .else
 CPPFLAGS+=-DNLIST_AOUT
 #CPPFLAGS+=-DNLIST_ECOFF



Home | Main Index | Thread Index | Old Index