use -m ${LD_EMULATION} for binary->elf link invocation

r306041 changed ld invocations for converting binary files to kernel
ELF objects to pass -m, but missed bespoke ld invocations in a pair of
arm file configs (one of which has since been removed).

This is needed to support some external toolchains and lld.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2018-11-09 19:16:01 +00:00
parent 13cf5074d0
commit 8573e2c388
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340298

View File

@ -64,7 +64,7 @@ sdma_fw.c optional sdma_fw \
clean "sdma_fw.c"
sdma-imx6q-to1.fwo optional sdma_fw \
dependency "sdma-imx6q-to1.bin" \
compile-with "${LD} -b binary -d -warn-common -r -d -o ${.TARGET} sdma-imx6q-to1.bin" \
compile-with "${LD} -m ${LD_EMULATION} -b binary -d -warn-common -r -d -o ${.TARGET} sdma-imx6q-to1.bin" \
no-implicit-rule \
clean "sdma-imx6q-to1.fwo"
sdma-imx6q-to1.bin optional sdma_fw \