use ${HOST_SH}

This commit is contained in:
christos 2014-11-12 02:50:01 +00:00
parent bf1c17892d
commit 59a749aa6e

@ -1,4 +1,4 @@
# $NetBSD: bsd.kmodule.mk,v 1.47 2014/11/12 02:19:28 christos Exp $ # $NetBSD: bsd.kmodule.mk,v 1.48 2014/11/12 02:50:01 christos Exp $
# We are not building this with PIE # We are not building this with PIE
MKPIE=no MKPIE=no
@ -162,7 +162,7 @@ ${PROG}: ${OBJS} ${DPADD}
${_MKTARGET_LINK} ${_MKTARGET_LINK}
.if ${MKLDSCRIPT} == "yes" .if ${MKLDSCRIPT} == "yes"
@rm -f ${KMODSCRIPT} @rm -f ${KMODSCRIPT}
@OBJDUMP=${OBJDUMP} $S/conf/mkldscript.sh ${KMODSCRIPTSRC} ${OBJS} \ @OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh ${KMODSCRIPTSRC} ${OBJS} \
> ${KMODSCRIPT} > ${KMODSCRIPT}
.endif .endif
${CC} ${LDFLAGS} -nostdlib -r -Wl,-T,${KMODSCRIPT},-d \ ${CC} ${LDFLAGS} -nostdlib -r -Wl,-T,${KMODSCRIPT},-d \