Makefile (280980) | Makefile (295757) |
---|---|
1# $FreeBSD: head/sys/boot/i386/zfsboot/Makefile 280980 2015-04-02 06:58:17Z dim $ | 1# $FreeBSD: head/sys/boot/i386/zfsboot/Makefile 295757 2016-02-18 14:17:28Z emaste $ |
2 3.PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../common ${.CURDIR}/../../common 4 5FILES= zfsboot 6MAN= zfsboot.8 7 8NM?= nm 9 --- 50 unchanged lines hidden (view full) --- 60# We currently allow 65536 bytes for zfsboot - in practice it could be 61# any size up to 3.5Mb but keeping it fixed size simplifies zfsldr. 62# 63BOOT2SIZE= 65536 64 65zfsboot2: zfsboot.ld 66 @set -- `ls -l zfsboot.ld`; x=$$((${BOOT2SIZE}-$$5)); \ 67 echo "$$x bytes available"; test $$x -ge 0 | 2 3.PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../common ${.CURDIR}/../../common 4 5FILES= zfsboot 6MAN= zfsboot.8 7 8NM?= nm 9 --- 50 unchanged lines hidden (view full) --- 60# We currently allow 65536 bytes for zfsboot - in practice it could be 61# any size up to 3.5Mb but keeping it fixed size simplifies zfsldr. 62# 63BOOT2SIZE= 65536 64 65zfsboot2: zfsboot.ld 66 @set -- `ls -l zfsboot.ld`; x=$$((${BOOT2SIZE}-$$5)); \ 67 echo "$$x bytes available"; test $$x -ge 0 |
68 dd if=zfsboot.ld of=${.TARGET} obs=${BOOT2SIZE} conv=osync | 68 dd if=zfsboot.ld of=${.TARGET} obs=${BOOT2SIZE} conv=osync status=none |
69 70zfsboot.ld: zfsboot.ldr zfsboot.bin ${BTXKERN} 71 btxld -v -E ${ORG2} -f bin -b ${BTXKERN} -l zfsboot.ldr \ 72 -o ${.TARGET} -P 1 zfsboot.bin 73 74zfsboot.ldr: 75 cp /dev/null ${.TARGET} 76 --- 20 unchanged lines hidden --- | 69 70zfsboot.ld: zfsboot.ldr zfsboot.bin ${BTXKERN} 71 btxld -v -E ${ORG2} -f bin -b ${BTXKERN} -l zfsboot.ldr \ 72 -o ${.TARGET} -P 1 zfsboot.bin 73 74zfsboot.ldr: 75 cp /dev/null ${.TARGET} 76 --- 20 unchanged lines hidden --- |