164123Skato# $FreeBSD: releng/10.2/sys/boot/pc98/boot0.5/Makefile 281289 2015-04-09 06:38:32Z dim $ 264123Skato 3125625SnyanPROG= ${BOOT}.out 4125625SnyanINTERNALPROG= 5125563SnyanFILES= ${BOOT} 6276486SngieMAN= 7168457SkatoSRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \ 8168457Skato putssjis.s 9125625SnyanCLEANFILES= ${BOOT} ${BOOT}.bin 1064123Skato 11125563SnyanBOOT= boot0.5 1264123Skato 13125563Snyan# The base address that we the boot0 code to to run it. Don't change this 14125563Snyan# unless you are glutton for punishment. 15125563SnyanBOOT_BOOT0_ORG?= 0x0000 16125563Snyan 17208789SedLDFLAGS=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N,-T,${.CURDIR}/ldscript 18125625Snyan 1964123Skato# The size of boot0.5 must be 7168 bytes 20125563Snyan${BOOT}: ${BOOT}.bin 21125563Snyan cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168 2264123Skato 23125563Snyan${BOOT}.bin: ${BOOT}.out 24281289Sdim ${OBJCOPY} -S -O binary ${BOOT}.out ${.TARGET} 2564123Skato 2664123Skato.include <bsd.prog.mk> 27