Makefile revision 264400
161765Smjacob# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 264400 2014-04-13 05:21:56Z imp $ 2139749Simp 372345SmjacobPROG= ${BOOT}.out 461765SmjacobINTERNALPROG= 561765SmjacobFILES= ${BOOT} 661765SmjacobMAN= 761765SmjacobSRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \ 861765Smjacob putssjis.s 961765SmjacobCLEANFILES= ${BOOT} ${BOOT}.bin 1061765Smjacob 1161765SmjacobBOOT= boot0.5 1261765Smjacob 1361765Smjacob# The base address that we the boot0 code to to run it. Don't change this 1461765Smjacob# unless you are glutton for punishment. 1561765SmjacobBOOT_BOOT0_ORG?= 0x0000 1661765Smjacob 1761765SmjacobLDFLAGS=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N,-T,${.CURDIR}/ldscript 1861765Smjacob 1961765Smjacob# The size of boot0.5 must be 7168 bytes 2061765Smjacob${BOOT}: ${BOOT}.bin 2161765Smjacob cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168 2261765Smjacob 2361765Smjacob${BOOT}.bin: ${BOOT}.out 2461765Smjacob objcopy -S -O binary ${BOOT}.out ${.TARGET} 2561765Smjacob 2661765Smjacob.include <bsd.prog.mk> 2761765Smjacob