7 SRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \
9 CLEANFILES= ${BOOT} ${BOOT}.bin
13 # The base address that we the boot0 code to to run it. Don't change this
14 # unless you are glutton for punishment.
15 BOOT_BOOT0_ORG?= 0x0000
17 LDFLAGS=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N,-T,${.CURDIR}/ldscript
19 # The size of boot0.5 must be 7168 bytes
21 cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168
23 ${BOOT}.bin: ${BOOT}.out
24 objcopy -S -O binary ${BOOT}.out ${.TARGET}
26 .include <bsd.prog.mk>