summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/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/mac68k/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/mac68k/conf')
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k13
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k
index 58fbffbf709..ff8a42b2ca8 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.21 2001/07/15 13:10:48 assar Exp $
+# $OpenBSD: Makefile.mac68k,v 1.22 2001/08/30 22:10:18 miod Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -36,6 +36,7 @@ TOUCH?= touch -f -c
S!= cd ../../../..; pwd
.endif
MAC68K= $S/arch/mac68k
+M68K= $S/arch/m68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dmac68k
@@ -66,7 +67,7 @@ LIBCOMPAT=${COMPATLIB_PROF}
.endif
### for the Motorola 68040 Floating Point Software Product
-.include "$S/arch/m68k/fpsp/Makefile.inc"
+.include "${M68K}/fpsp/Makefile.inc"
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
@@ -115,9 +116,11 @@ LINKFLAGS+= -S
%LOAD
-assym.h: $S/kern/genassym.sh ${MAC68K}/mac68k/genassym.cf
- sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
- < ${MAC68K}/mac68k/genassym.cf > assym.h.tmp && \
+assym.h: $S/kern/genassym.sh \
+ ${M68K}/m68k/genassym.cf ${MAC68K}/mac68k/genassym.cf
+ cat ${M68K}/m68k/genassym.cf ${MAC68K}/mac68k/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