summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/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/sparc64/conf
parent9499bb88348ed4469f97f197bd2e10053ceda9bf (diff)
Fix .depend generation for assym.h. Resolves PR 1154.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64/conf')
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc644
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64
index dbda25e5973..3af4fef6bf2 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -144,6 +144,10 @@ depend:: .depend
.if !empty(SFILES)
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
.endif
+ sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
+ ${CPPFLAGS} < ${SPARC64}/sparc64/genassym.cf
+ @sed -e 's/.*\.o:.* /assym.h: /' < assym.dep >> .depend
+ @rm -f assym.dep
locore.o: ${SPARC64}/sparc64/locore.s assym.h
${NORMAL_S}