summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-18 18:08:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-18 18:08:03 +0000
commitd759993d3032b53746fd5ed722e559b38ad3b92e (patch)
tree8bd766db90321c7c8d8b035de0769de21fe360c5 /sys/arch/m68k
parente7af0cc059f5414350319c7ece8752dec8a2fdb3 (diff)
enter for obj@ building, otherwise dribbles happen
Diffstat (limited to 'sys/arch/m68k')
-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: