Source-Changes-HG archive

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

[src/trunk]: src/sys/lkm/compat/sunos build sunos_machdep.c and sunos_sigcode...



details:   https://anonhg.NetBSD.org/src/rev/69a7dafeadb6
branches:  trunk
changeset: 522029:69a7dafeadb6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 10 15:41:58 2002 +0000

description:
build sunos_machdep.c and sunos_sigcode.s on sparc & sparc64

diffstat:

 sys/lkm/compat/sunos/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 08c45e6fc0a8 -r 69a7dafeadb6 sys/lkm/compat/sunos/Makefile
--- a/sys/lkm/compat/sunos/Makefile     Sun Feb 10 15:40:32 2002 +0000
+++ b/sys/lkm/compat/sunos/Makefile     Sun Feb 10 15:41:58 2002 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile,v 1.8 2001/12/12 11:44:46 lukem Exp $
+#      $NetBSD: Makefile,v 1.9 2002/02/10 15:41:58 mrg Exp $
 
 .include "../Makefile.inc"
 
-.PATH: $S/compat/sunos $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
+.PATH: $S/compat/sunos $S/arch/${MACHINE}/${MACHINE} $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH} $S/compat/common
 
 CPPFLAGS+= -DCOMPAT_SUNOS -DSYSVSEM -DSYSVMSG -DSYSVSHM -nostdinc
 AFLAGS=                -x assembler-with-cpp -traditional-cpp -D_LOCORE \
@@ -19,4 +19,8 @@
 SRCS+= sunos_sigcode.s
 .endif
 
+.if (${MACHINE} == "sparc64" || ${MACHINE} == "sparc")
+SRCS+= sunos_machdep.c sunos_sigcode.s
+.endif
+
 .include <bsd.kmod.mk>



Home | Main Index | Thread Index | Old Index