Makefile revision 139103
164123Skato# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 139103 2004-12-21 08:47:35Z ru $ 264123Skato 3125625SnyanPROG= ${BOOT}.out 4125625SnyanINTERNALPROG= 5125563SnyanFILES= ${BOOT} 6139103SruNO_MAN= 7125625SnyanSRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s 8125625SnyanCLEANFILES= ${BOOT} ${BOOT}.bin 964123Skato 10125563SnyanBOOT= boot0.5 1164123Skato 12125563Snyan# The base address that we the boot0 code to to run it. Don't change this 13125563Snyan# unless you are glutton for punishment. 14125563SnyanBOOT_BOOT0_ORG?= 0x0000 15125563Snyan 16125625SnyanLDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} 17125625Snyan 1864123Skato# The size of boot0.5 must be 7168 bytes 19125563Snyan${BOOT}: ${BOOT}.bin 20125563Snyan cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168 2164123Skato 22125563Snyan${BOOT}.bin: ${BOOT}.out 23125563Snyan objcopy -S -O binary ${BOOT}.out ${.TARGET} 2464123Skato 2564123Skato.include <bsd.prog.mk> 26