summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/m68k/060sp/Makefile9
-rw-r--r--sys/arch/m68k/Makefile4
-rw-r--r--sys/arch/m68k/fpsp/Makefile8
3 files changed, 16 insertions, 5 deletions
diff --git a/sys/arch/m68k/060sp/Makefile b/sys/arch/m68k/060sp/Makefile
index be896aeecbb..1d650401c5f 100644
--- a/sys/arch/m68k/060sp/Makefile
+++ b/sys/arch/m68k/060sp/Makefile
@@ -1,6 +1,8 @@
-# $OpenBSD: Makefile,v 1.5 2001/11/25 21:15:15 miod Exp $
+# $OpenBSD: Makefile,v 1.6 2007/10/18 18:08:02 deraadt Exp $
# $NetBSD: Makefile,v 1.3 1996/12/31 22:44:13 veego Exp $
#
+.if ${MACHINE_ARCH} == "m68k"
+
AS?= as
AS+= -m68060
LD= ld
@@ -18,6 +20,11 @@ clean cleandir:
_SUBDIRUSE:
+.else
+clean cleandir:
+
+.endif
+
all:
depend:
diff --git a/sys/arch/m68k/Makefile b/sys/arch/m68k/Makefile
index e985931ee82..f06ceb52593 100644
--- a/sys/arch/m68k/Makefile
+++ b/sys/arch/m68k/Makefile
@@ -1,11 +1,9 @@
-# $OpenBSD: Makefile,v 1.9 2005/05/06 11:16:47 pedro Exp $
+# $OpenBSD: Makefile,v 1.10 2007/10/18 18:08:02 deraadt Exp $
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
-.if ${MACHINE_ARCH} == "m68k"
SUBDIR+= 060sp fpsp
-.endif
TM68K= $S/arch/m68k/tags
SM68K= $S/arch/m68k/m68k/*.[ch] \
diff --git a/sys/arch/m68k/fpsp/Makefile b/sys/arch/m68k/fpsp/Makefile
index af0950de8a9..4dc33c02f40 100644
--- a/sys/arch/m68k/fpsp/Makefile
+++ b/sys/arch/m68k/fpsp/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2001/09/14 05:35:31 art Exp $
+# $OpenBSD: Makefile,v 1.15 2007/10/18 18:08:02 deraadt Exp $
# $NetBSD: Makefile,v 1.6 1997/04/25 22:17:33 veego Exp $
# MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
@@ -36,6 +36,7 @@
#
# Makefile for 68040 Floating Point Software Package
#
+.if ${MACHINE_ARCH} == "m68k"
TARGET = fpsp
@@ -339,6 +340,11 @@ clobber: clean
_SUBDIRUSE:
+.else
+clean cleandir:
+
+.endif
+
all:
depend: