Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/installboot Grab the appropriate loadfi...



details:   https://anonhg.NetBSD.org/src/rev/34bb3e03c50d
branches:  trunk
changeset: 518694:34bb3e03c50d
user:      jmc <jmc%NetBSD.org@localhost>
date:      Tue Dec 04 11:31:10 2001 +0000

description:
Grab the appropriate loadfile_elf depending on machine arch

diffstat:

 sys/arch/sparc/stand/installboot/Makefile |  14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r e3b1c664715a -r 34bb3e03c50d sys/arch/sparc/stand/installboot/Makefile
--- a/sys/arch/sparc/stand/installboot/Makefile Tue Dec 04 09:56:31 2001 +0000
+++ b/sys/arch/sparc/stand/installboot/Makefile Tue Dec 04 11:31:10 2001 +0000
@@ -1,11 +1,19 @@
-#      $NetBSD: Makefile,v 1.19 2001/11/22 00:14:21 jmc Exp $
+#      $NetBSD: Makefile,v 1.20 2001/12/04 11:31:10 jmc Exp $
 
 .include <bsd.own.mk>
 
 WARNS?=1
 PROG=  installboot
-SRCS=  installboot.c byteorder.c loadfile.c loadfile_aout.c \
-       loadfile_elf32.c
+SRCS=  installboot.c byteorder.c loadfile.c loadfile_aout.c 
+
+.if ${MACHINE_ARCH} == "sparc"
+SRCS+= loadfile_elf32.c
+.endif
+
+.if ${MACHINE_ARCH} == "sparc64"
+SRCS+= loadfile_elf64.c
+.endif
+
 MKMAN= no
 CFLAGS+=-g
 



Home | Main Index | Thread Index | Old Index