summaryrefslogtreecommitdiff
path: root/sys/arch/Makefile
diff options
context:
space:
mode:
authorfredette <fredette@NetBSD.org>2001-06-14 13:01:27 +0000
committerfredette <fredette@NetBSD.org>2001-06-14 13:01:27 +0000
commit17de8ec19e7efc0f120bee272502acc199e94b15 (patch)
treed711707a8eddeb2c87011f4989a2ca31d9439e45 /sys/arch/Makefile
parentc1c742b4c9ece48bd33fcd454a3ed8d2751e914e (diff)
Set ARCHSUBDIR to m68k when MACHINE_ARCH is m68000.
Add sun68k to SUBDIR when MACHINE is sun2.
Diffstat (limited to 'sys/arch/Makefile')
-rw-r--r--sys/arch/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/Makefile b/sys/arch/Makefile
index fc5d075dcd1..0b34d7459f9 100644
--- a/sys/arch/Makefile
+++ b/sys/arch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/06/12 18:16:31 matt Exp $
+# $NetBSD: Makefile,v 1.12 2001/06/14 13:01:27 fredette Exp $
# For now, we install the machine and arch includes, and symlink 'machine'
# to the location of the machine includes (usually).
@@ -6,7 +6,7 @@
# Eventually, we should install everything.
SUBDIR= ${MACHINE}
-ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/sh3e[bl]/sh3/:S/arm26/arm/:S/arm32/arm/}
+ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/sh3e[bl]/sh3/:S/arm26/arm/:S/arm32/arm/:S/m68000/m68k/}
.if ${MACHINE} != ${ARCHSUBDIR}
.if exists(${ARCHSUBDIR})
SUBDIR+= ${ARCHSUBDIR}
@@ -18,6 +18,9 @@ SUBDIR+= sparc64
.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
SUBDIR+= hpc
.endif
+.if (${MACHINE} == sun2)
+SUBDIR+= sun68k
+.endif
.if ${ARCHSUBDIR} == arm && ${MACHINE} != arm32 && ${MACHINE} != arm26
SUBDIR+= cats dnard netwinder