Makefile revision 168457
1207151Smarius# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 168457 2007-04-07 08:37:04Z kato $ 2207151Smarius 3207151SmariusPROG= ${BOOT}.out 4207151SmariusINTERNALPROG= 5207151SmariusFILES= ${BOOT} 6207151SmariusNO_MAN= 7207151SmariusSRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \ 8207151Smarius putssjis.s 9207151SmariusCLEANFILES= ${BOOT} ${BOOT}.bin 10207151Smarius 11207151SmariusBOOT= boot0.5 12207151Smarius 13207151Smarius# The base address that we the boot0 code to to run it. Don't change this 14207151Smarius# unless you are glutton for punishment. 15207151SmariusBOOT_BOOT0_ORG?= 0x0000 16207151Smarius 17207151SmariusLDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-T,ldscript 18207151Smarius 19207151Smarius# The size of boot0.5 must be 7168 bytes 20207151Smarius${BOOT}: ${BOOT}.bin 21207151Smarius cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168 22207151Smarius 23207151Smarius${BOOT}.bin: ${BOOT}.out 24207151Smarius objcopy -S -O binary ${BOOT}.out ${.TARGET} 25207151Smarius 26207151Smarius.include <bsd.prog.mk> 27207151Smarius