summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
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/arm64
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/arm64')
-rw-r--r--sys/arch/arm64/conf/Makefile.arm644
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/conf/Makefile.arm64 b/sys/arch/arm64/conf/Makefile.arm64
index e1914c653e9..f9fa3685748 100644
--- a/sys/arch/arm64/conf/Makefile.arm64
+++ b/sys/arch/arm64/conf/Makefile.arm64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.arm64,v 1.12 2017/06/11 20:50:32 bluhm Exp $
+# $OpenBSD: Makefile.arm64,v 1.13 2017/06/11 22:51:21 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -124,7 +124,7 @@ ld.script: ${_archdir}/conf/kern.ldscript
sed -e 's/@KERNEL_BASE_PHYS@/${KERNEL_BASE_PHYS}/' \
-e 's/@KERNEL_BASE_VIRT@/${KERNEL_BASE_VIRT}/' > 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