diff options
author | dim <dim@FreeBSD.org> | 2015-04-09 06:38:32 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-04-09 06:38:32 +0000 |
commit | 2da35800ba74197e3c32cfb7335da62b036ad920 (patch) | |
tree | 68f89963760e6dd4e7158a835f278ded8c8696aa /sys/boot/i386/boot2 | |
parent | 0aa481cad3a84b410a9897e52b36dfb14d91936c (diff) | |
download | FreeBSD-src-2da35800ba74197e3c32cfb7335da62b036ad920.zip FreeBSD-src-2da35800ba74197e3c32cfb7335da62b036ad920.tar.gz |
MFC r280980:
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
Differential Revision: https://reviews.freebsd.org/D2187
Diffstat (limited to 'sys/boot/i386/boot2')
-rw-r--r-- | sys/boot/i386/boot2/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index d68d07b..58c06ed 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -60,7 +60,7 @@ boot: boot1 boot2 CLEANFILES+= boot1 boot1.out boot1.o boot1: boot1.out - objcopy -S -O binary boot1.out ${.TARGET} + ${OBJCOPY} -S -O binary boot1.out ${.TARGET} boot1.out: boot1.o ${LD} ${LD_FLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} boot1.o @@ -81,7 +81,7 @@ boot2.ldr: dd if=/dev/zero of=${.TARGET} bs=512 count=1 boot2.bin: boot2.out - objcopy -S -O binary boot2.out ${.TARGET} + ${OBJCOPY} -S -O binary boot2.out ${.TARGET} boot2.out: ${BTXCRT} boot2.o sio.o ${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} |