diff options
author | dim <dim@FreeBSD.org> | 2015-04-02 06:58:17 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-04-02 06:58:17 +0000 |
commit | fd4e4ae1474b54b3438741fda6a45dfd954c2ab1 (patch) | |
tree | 30c79973bafd01648519db87bc5e6dd1ff5e7ef3 /sys/boot/i386/zfsboot/Makefile | |
parent | 891b87e2c5d34be663ec78eaab42e869f8d12a5e (diff) | |
download | FreeBSD-src-fd4e4ae1474b54b3438741fda6a45dfd954c2ab1.zip FreeBSD-src-fd4e4ae1474b54b3438741fda6a45dfd954c2ab1.tar.gz |
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
Diffstat (limited to 'sys/boot/i386/zfsboot/Makefile')
-rw-r--r-- | sys/boot/i386/zfsboot/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/zfsboot/Makefile b/sys/boot/i386/zfsboot/Makefile index 0c24c40..8c94996 100644 --- a/sys/boot/i386/zfsboot/Makefile +++ b/sys/boot/i386/zfsboot/Makefile @@ -49,7 +49,7 @@ zfsboot: zfsboot1 zfsboot2 CLEANFILES+= zfsboot1 zfsldr.out zfsldr.o zfsboot1: zfsldr.out - objcopy -S -O binary zfsldr.out ${.TARGET} + ${OBJCOPY} -S -O binary zfsldr.out ${.TARGET} zfsldr.out: zfsldr.o ${LD} ${LD_FLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} zfsldr.o @@ -75,7 +75,7 @@ zfsboot.ldr: cp /dev/null ${.TARGET} zfsboot.bin: zfsboot.out - objcopy -S -O binary zfsboot.out ${.TARGET} + ${OBJCOPY} -S -O binary zfsboot.out ${.TARGET} zfsboot.out: ${BTXCRT} zfsboot.o sio.o drv.o cons.o util.o ${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBSTAND} |