aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/mips
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-04-02 06:58:17 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-04-02 06:58:17 +0000
commit76e2c537bc4dfec23159f4f7a20cdc6621f41414 (patch)
tree30c79973bafd01648519db87bc5e6dd1ff5e7ef3 /sys/boot/mips
parent0daa281ac00d93a00d9138819e6dd5795b7edc75 (diff)
downloadsrc-76e2c537bc4dfec23159f4f7a20cdc6621f41414.tar.gz
src-76e2c537bc4dfec23159f4f7a20cdc6621f41414.zip
Ensure the cross assembler, linker and objcopy are used for the build32
stage, just like for the regular world stage. Reviewed by: rodrigc, imp, bapt, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D2187
Notes
Notes: svn path=/head/; revision=280980
Diffstat (limited to 'sys/boot/mips')
-rw-r--r--sys/boot/mips/beri/boot2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/mips/beri/boot2/Makefile b/sys/boot/mips/beri/boot2/Makefile
index 104a3999b704..f9950a96b875 100644
--- a/sys/boot/mips/beri/boot2/Makefile
+++ b/sys/boot/mips/beri/boot2/Makefile
@@ -74,7 +74,7 @@ flashboot.elf: relocate.o start.o boot2.o altera_jtag_uart.o cfi.o sdcard.o
${LD} ${_LDFLAGS} -T ${.CURDIR}/flashboot.ldscript -o ${.TARGET} \
${.ALLSRC} ${LIBSTAND}
flashboot: flashboot.elf
- objcopy -S -O binary ${.TARGET}.elf ${.TARGET}
+ ${OBJCOPY} -S -O binary ${.TARGET}.elf ${.TARGET}
flashboot.md5: flashboot
md5 flashboot > flashboot.md5