summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/conf/Makefile.sgi
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-01-03 14:17:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-01-03 14:17:28 +0000
commit9a3a2d30fe784b1aa311cfae0892634df9c64246 (patch)
tree42a71a7e0f048b073da9f5cbcf8f427b48444399 /sys/arch/sgi/conf/Makefile.sgi
parent86e4a05b72cafd91de7beebf2266741faa3d5d03 (diff)
Use a split genassym.cf scheme on mips64 ports. Don't forget to rerun config(8).
Diffstat (limited to 'sys/arch/sgi/conf/Makefile.sgi')
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi
index 61cfe503b18..9175bacf386 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.25 2009/10/19 19:46:56 guenther Exp $
+# $OpenBSD: Makefile.sgi,v 1.26 2010/01/03 14:17:27 miod Exp $
# Makefile for OpenBSD
#
@@ -134,9 +134,11 @@ if_arp.o if_ether.o: Makefile
ip_input.o ip_output.o in_pcb.o in_proto.o: Makefile
tcp_subr.o tcp_timer.o tcp_output.o: Makefile
-assym.h: $S/kern/genassym.sh ${SGI}/sgi/genassym.cf Makefile
- sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \
- ${PARAM} < ${SGI}/sgi/genassym.cf > assym.h.tmp && \
+assym.h: $S/kern/genassym.sh \
+ ${MIPS64}/mips64/genassym.cf ${SGI}/sgi/genassym.cf Makefile
+ cat ${MIPS64}/mips64/genassym.cf ${SGI}/sgi/genassym.cf | \
+ sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PARAM} \
+ > assym.h.tmp && \
mv -f assym.h.tmp assym.h
links:
@@ -174,8 +176,8 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${SGI}/sgi/locore.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
- sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
- ${CPPFLAGS} < ${SGI}/sgi/genassym.cf
+ cat ${MIPS64}/mips64/genassym.cf ${SGI}/sgi/genassym.cf | \
+ sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} ${CPPFLAGS}
@sed -e 's/.*\.o: /assym.h: /' -e 's/\/tmp\/genassym_c.[^ ]*//' \
< assym.dep >> .depend
@rm -f assym.dep