summaryrefslogtreecommitdiff
path: root/sys/arch/landisk/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/landisk/conf')
-rw-r--r--sys/arch/landisk/conf/Makefile.landisk10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/landisk/conf/Makefile.landisk b/sys/arch/landisk/conf/Makefile.landisk
index b3a8dd98dec..c570cb90264 100644
--- a/sys/arch/landisk/conf/Makefile.landisk
+++ b/sys/arch/landisk/conf/Makefile.landisk
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.landisk,v 1.71 2017/07/16 16:47:07 visa Exp $
+# $OpenBSD: Makefile.landisk,v 1.72 2017/07/18 16:43:27 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -124,8 +124,10 @@ ld.script: ${_machdir}/conf/ld.script
makegap.sh:
cp $S/conf/makegap.sh $@
-gap.o: Makefile makegap.sh
- LD="${LD}" sh makegap.sh 0xc3c3c3c3
+MAKE_GAP = LD="${LD}" sh makegap.sh 0xc3c3c3c3
+
+gap.o: Makefile makegap.sh vers.o
+ ${MAKE_GAP}
vers.o: ${SYSTEM_DEP:Ngap.o}
sh $S/conf/newvers.sh
@@ -161,7 +163,7 @@ install: update-link newinstall
${SYSTEM_OBJ}: ${DB_STRUCTINFO}
.endif
.ifnmake clean
-. for o in ${SYSTEM_OBJ} assym.h ${DB_STRUCTINFO}
+. for o in ${SYSTEM_OBJ:Ngap.o} assym.h ${DB_STRUCTINFO}
. if exists(${o:R}.d)
. include "${o:R}.d"
. elif exists($o)