summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/luna88k/conf/Makefile.luna88k8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/luna88k/conf/Makefile.luna88k b/sys/arch/luna88k/conf/Makefile.luna88k
index f0b776cc7a7..9459c922c4b 100644
--- a/sys/arch/luna88k/conf/Makefile.luna88k
+++ b/sys/arch/luna88k/conf/Makefile.luna88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.luna88k,v 1.73 2017/07/20 12:07:54 aoyama Exp $
+# $OpenBSD: Makefile.luna88k,v 1.74 2017/07/21 13:27:21 aoyama Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -128,8 +128,10 @@ ld.script: ${_machdir}/conf/ld.script
makegap.sh:
cp $S/conf/makegap.sh $@
-gap.o: Makefile makegap.sh
- LD="${LD}" sh makegap.sh 0x00000000
+MAKE_GAP = LD="${LD}" sh makegap.sh 0x00000000
+
+gap.o: Makefile makegap.sh vers.o
+ ${MAKE_GAP}
vers.o: ${SYSTEM_DEP:Ngap.o}
sh $S/conf/newvers.sh