Makefile revision 125563
164123Skato# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 125563 2004-02-07 12:19:44Z nyan $ 264123Skato 3125563SnyanFILES= ${BOOT} 4125563SnyanCLEANFILES= ${BOOT} ${BOOT}.bin ${BOOT}.out ${OBJS} 564123Skato 6125563SnyanBOOT= boot0.5 764123Skato 8125563SnyanSRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s 9125563SnyanOBJS= ${SRCS:N*.h:R:S/$/.o/g} 10125563Snyan 11125563Snyan# The base address that we the boot0 code to to run it. Don't change this 12125563Snyan# unless you are glutton for punishment. 13125563SnyanBOOT_BOOT0_ORG?= 0x0000 14125563Snyan 1564123Skato# The size of boot0.5 must be 7168 bytes 16125563Snyan${BOOT}: ${BOOT}.bin 17125563Snyan cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168 1864123Skato 19125563Snyan${BOOT}.bin: ${BOOT}.out 20125563Snyan objcopy -S -O binary ${BOOT}.out ${.TARGET} 2164123Skato 22125563Snyan${BOOT}.out: ${OBJS} 23125563Snyan ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${.TARGET} ${.ALLSRC} 2464123Skato 2564123Skato.include <bsd.prog.mk> 26