Makefile revision 276486
137904Sjlemon# $FreeBSD: stable/10/sys/boot/pc98/boot0.5/Makefile 276486 2014-12-31 23:25:37Z ngie $ 237904Sjlemon 337904SjlemonPROG= ${BOOT}.out 437904SjlemonINTERNALPROG= 537904SjlemonFILES= ${BOOT} 637904SjlemonMAN= 737904SjlemonSRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \ 837904Sjlemon putssjis.s 937904SjlemonCLEANFILES= ${BOOT} ${BOOT}.bin 1037904Sjlemon 1137904SjlemonBOOT= boot0.5 1237904Sjlemon 1337904Sjlemon# The base address that we the boot0 code to to run it. Don't change this 1437904Sjlemon# unless you are glutton for punishment. 1537904SjlemonBOOT_BOOT0_ORG?= 0x0000 1637904Sjlemon 1737904SjlemonLDFLAGS=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N,-T,${.CURDIR}/ldscript 1837904Sjlemon 1937904Sjlemon# The size of boot0.5 must be 7168 bytes 2037904Sjlemon${BOOT}: ${BOOT}.bin 2137904Sjlemon cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168 2237904Sjlemon 2337904Sjlemon${BOOT}.bin: ${BOOT}.out 2437904Sjlemon objcopy -S -O binary ${BOOT}.out ${.TARGET} 2537904Sjlemon 2637904Sjlemon.include <bsd.prog.mk> 2737904Sjlemon