summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/conf
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-22 19:39:51 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-22 19:39:51 +0000
commitf7257e19db452fc64bb28fe9531233daca3bbc00 (patch)
treeccae63601069ed6b3bd5a7637f221659b2fcd487 /sys/arch/alpha/conf
parent9499bb88348ed4469f97f197bd2e10053ceda9bf (diff)
Fix .depend generation for assym.h. Resolves PR 1154.
ok deraadt@
Diffstat (limited to 'sys/arch/alpha/conf')
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index cd874c0b584..880507caec7 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.30 2003/05/23 22:16:16 tedu Exp $
+# $OpenBSD: Makefile.alpha,v 1.31 2003/07/22 19:39:50 otto Exp $
# $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $
# Makefile for OpenBSD
@@ -150,6 +150,10 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} cpuconf.c param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
+ sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
+ ${CPPFLAGS} < ${ALPHA}/alpha/genassym.cf
+ @sed -e 's/.*\.o:.* /assym.h: /' < assym.dep >> .depend
+ @rm -f assym.dep
# depend on root or device configuration