summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-07-16 16:47:08 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-07-16 16:47:08 +0000
commitc3641eaa8e20610071d3a898ed2b7ba6f009a7ae (patch)
tree18791eef7eec49f00c872744f18c0d67d2a77317 /sys/arch/armv7
parent04c19119582b1d7a240fd4b2028d9609f3bec592 (diff)
Pass the linker from make environment to makegap.sh. This is (only)
a partial solution to cross compiling the kernel with KARL. OK deraadt@ a while ago
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r--sys/arch/armv7/conf/Makefile.armv74
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/conf/Makefile.armv7 b/sys/arch/armv7/conf/Makefile.armv7
index 3d874f06593..8158039bf82 100644
--- a/sys/arch/armv7/conf/Makefile.armv7
+++ b/sys/arch/armv7/conf/Makefile.armv7
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.armv7,v 1.31 2017/06/29 16:51:35 espie Exp $
+# $OpenBSD: Makefile.armv7,v 1.32 2017/07/16 16:47:06 visa Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -130,7 +130,7 @@ makegap.sh:
cp $S/conf/makegap.sh $@
gap.o: Makefile makegap.sh gapdummy.o
- sh makegap.sh 0xffffffff gapdummy.o
+ LD="${LD}" sh makegap.sh 0xffffffff gapdummy.o
vers.o: ${SYSTEM_DEP:Ngap.o}
sh $S/conf/newvers.sh