summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorryker <ryker@cvs.openbsd.org>1998-08-18 15:05:53 +0000
committerryker <ryker@cvs.openbsd.org>1998-08-18 15:05:53 +0000
commit2f6fa237a33663873a77b5c43e8f6e7c8c85e476 (patch)
treee2a1a14dcc1408023403174059f9d96aa7063fbf /sys
parent046aa34e3feb9186c70e716051dd6186b77e5f79 (diff)
Let mac68k kernels compile outside of arch/mac68k/compile; d@fnarg.net.au.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k
index ee2ec89989d..95b5ca36835 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.19 1998/03/06 19:14:44 gene Exp $
+# $OpenBSD: Makefile.mac68k,v 1.20 1998/08/18 15:05:52 ryker Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -30,7 +30,9 @@ COPTS?= -O2
TOUCH?= touch -f -c
# source tree is located via $S relative to the compilation directory
-S= ../../../..
+.ifndef S
+S!= cd ../../../..; pwd
+.endif
MAC68K= $S/arch/mac68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc