Now also build libm68k when MACHINE_ARCH is m68000.

This commit is contained in:
fredette 2002-03-26 22:48:04 +00:00
parent 032762e1e9
commit 26755e068d
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2001/07/28 19:17:11 bjh21 Exp $
# $NetBSD: Makefile,v 1.17 2002/03/26 22:48:04 fredette Exp $
ARCHDIRS= alpha arm32 i386 m68k
@ -13,7 +13,7 @@ CLEANFILES+= ${ASM} ${POBJS}
# Build the library if SRCS is now defined ...
.if defined(SRCS)
LIB= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm.*/arm32/}
LIB= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm.*/arm32/:C/m68000/m68k/}
SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
.include <bsd.lib.mk>

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile.inc,v 1.6 2001/12/12 00:51:00 tv Exp $
# $NetBSD: Makefile.inc,v 1.7 2002/03/26 22:48:04 fredette Exp $
.if (${MACHINE_ARCH} == "m68k")
.if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m68000")
SRCS= m68k_sync_icache.S
NOLINT= # defined
.endif