summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-08-30 22:10:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-08-30 22:10:19 +0000
commit52f3ccb17dfd5af1ded7efc1e7fb2569b52b36cf (patch)
treedde56bb300067878a6221279c46c9b279c16fa8b /sys/arch/sun3/conf
parente11e7d07ae943c258c183ffbd364da7f44f420ad (diff)
Invoke genassym.sh with both m68k/m68k/genassym.cf and
machine/machine/genassym.cf files (poor man's inclusion).
Diffstat (limited to 'sys/arch/sun3/conf')
-rw-r--r--sys/arch/sun3/conf/Makefile.sun313
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3
index 394ced80585..eed6b12e231 100644
--- a/sys/arch/sun3/conf/Makefile.sun3
+++ b/sys/arch/sun3/conf/Makefile.sun3
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sun3,v 1.26 2001/07/15 13:10:50 assar Exp $
+# $OpenBSD: Makefile.sun3,v 1.27 2001/08/30 22:10:18 miod Exp $
# $NetBSD: Makefile.sun3,v 1.51 1996/09/09 21:07:08 mycroft Exp $
# Makefile for OpenBSD
@@ -34,6 +34,7 @@ STRIP?= strip
S!= cd ../../../..; pwd
.endif
SUN3= $S/arch/sun3
+M68K= $S/arch/m68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmc68020 -Dsun3
@@ -104,10 +105,12 @@ LINKFLAGS+= -S
%LOAD
-assym.h: $S/kern/genassym.sh ${SUN3}/sun3/genassym.cf
- sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \
- ${PARAM} < ${SUN3}/sun3/genassym.cf > assym.h.tmp && \
- mv -f assym.h.tmp assym.h
+assym.h: $S/kern/genassym.sh \
+ ${M68K}/m68k/genassym.cf ${SUN3}/sun3/genassym.cf
+ cat ${M68K}/m68k/genassym.cf ${SUN3}/sun3/genassym.cf | \
+ sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+ > assym.h.tmp && \
+ mv -f assym.h.tmp assym.h
param.c: $S/conf/param.c
rm -f param.c