diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-07-16 16:47:08 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-07-16 16:47:08 +0000 |
commit | c3641eaa8e20610071d3a898ed2b7ba6f009a7ae (patch) | |
tree | 18791eef7eec49f00c872744f18c0d67d2a77317 /sys/arch/octeon | |
parent | 04c19119582b1d7a240fd4b2028d9609f3bec592 (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/octeon')
-rw-r--r-- | sys/arch/octeon/conf/Makefile.octeon | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/conf/Makefile.octeon b/sys/arch/octeon/conf/Makefile.octeon index 39a9c825bee..f6d29788eab 100644 --- a/sys/arch/octeon/conf/Makefile.octeon +++ b/sys/arch/octeon/conf/Makefile.octeon @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.octeon,v 1.39 2017/06/29 16:51:35 espie Exp $ +# $OpenBSD: Makefile.octeon,v 1.40 2017/07/16 16:47:07 visa Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -135,7 +135,7 @@ makegap.sh: cp $S/conf/makegap.sh $@ gap.o: Makefile makegap.sh gapdummy.o - sh makegap.sh 0xefefefef gapdummy.o + LD="${LD}" sh makegap.sh 0xefefefef gapdummy.o vers.o: ${SYSTEM_DEP:Ngap.o} sh $S/conf/newvers.sh |