Makefile revision 125625
164123Skato# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 125625 2004-02-09 16:01:45Z nyan $ 264123Skato 3125625SnyanPROG= ${BOOT}.out 4125625SnyanINTERNALPROG= 5125563SnyanFILES= ${BOOT} 6125625SnyanNOMAN= 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