summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-06-18 20:00:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-06-18 20:00:55 +0000
commit50b9503d6961ae5b416219cd4cdb1551dd79baf8 (patch)
tree2e96039de40126620fc4c4a003678e36c1b3966f /sys/arch/hp300
parent6abc7eda4e5c7c348b9c86b719440b0a69f665de (diff)
Allow S to be overridden like on the other arches; provos@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/conf/Makefile.hp3008
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300
index f14c83b5890..983243d4cc9 100644
--- a/sys/arch/hp300/conf/Makefile.hp300
+++ b/sys/arch/hp300/conf/Makefile.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hp300,v 1.19 1998/03/03 22:34:52 niklas Exp $
+# $OpenBSD: Makefile.hp300,v 1.20 2000/06/18 20:00:54 millert Exp $
# $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr Exp $
# Makefile for OpenBSD
@@ -29,8 +29,10 @@ STRIP?= strip
COPTS?= -O2
# source tree is located via $S relative to the compilation directory
-S= ../../../..
-HP300= ../..
+.ifndef S
+S!= cd ../../../..; pwd
+.endif
+HP300= $S/arch/hp300
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \