summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-11 22:51:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-11 22:51:22 +0000
commit2dd53aa4756f52d9393623099ee938336172a777 (patch)
treee50e5a373dd33811a1aff7fa043b704f23dee0e4 /sys/arch/loongson
parent0dd20bca586bc67da66c47a162a069ff2f940bdc (diff)
make vers.o not depend on gap.o using a trick, because it is piece of
fiction participating only in the linkphase. tricks from rpe and espie
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/conf/Makefile.loongson4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson
index b8947b2853f..fc93bd98706 100644
--- a/sys/arch/loongson/conf/Makefile.loongson
+++ b/sys/arch/loongson/conf/Makefile.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.loongson,v 1.58 2017/06/11 20:50:32 bluhm Exp $
+# $OpenBSD: Makefile.loongson,v 1.59 2017/06/11 22:51:21 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -126,7 +126,7 @@ ioconf.o: ioconf.c
ld.script: ${_machdir}/conf/ld.script
cp ${_machdir}/conf/ld.script $@
-vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
+vers.o: ${SYSTEM_DEP:Ngap.o} ${SYSTEM_SWAP_DEP}
sh $S/conf/newvers.sh
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c