11 CFLAGS= -mcmodel=medlow -Os -I${.CURDIR}/../../common
12 LDFLAGS=-N -Ttext ${BOOTBLOCKBASE}
14 # Construct boot1. sunlabel expects it to contain zeroed-out space for the
15 # label, and to be of the correct size.
17 dd if=/dev/zero of=${.TARGET} bs=512 count=16
18 dd if=boot1.aout of=${.TARGET} bs=512 oseek=1 conv=notrunc
20 CLEANFILES= boot1.aout
23 elf2aout -o ${.TARGET} ${.ALLSRC}
25 boot1.o: ${.CURDIR}/../../common/ufsread.c
27 .include <bsd.prog.mk>