summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2009-03-23 18:51:52 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2009-03-23 18:51:52 +0000
commitb045d2d7ff2c60cb16ca203c81c7b7f78fabc3f1 (patch)
treec7c1047cc0a63b42230192463f7c6a78d8fd1925
parent2ffd03c214a9228be616153f69b2372dedeadabc (diff)
Add missing dependency generation for assym.h (...the lack of which
made testers of art's affinity diff go insane) ok krw@ miod@
-rw-r--r--sys/arch/amd64/conf/Makefile.amd647
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index cf4b7c6ff8f..9f08dea2ce9 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.15 2007/11/30 07:52:06 miod Exp $
+# $OpenBSD: Makefile.amd64,v 1.16 2009/03/23 18:51:51 guenther Exp $
# Makefile for OpenBSD
#
@@ -155,6 +155,11 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AFILES}
${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} ${PARAM} < ${AMD64}/amd64/genassym.cf
+ @sed -e 's/.*\.o: /assym.h: /' -e 's/\/tmp\/genassym_c.[^ ]*//' \
+ < assym.dep >> .depend
+ @rm -f assym.dep
# depend on root or device configuration