Makefile revision 168466
1# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 168466 2007-04-07 13:37:45Z nyan $ 2 3PROG= ${BOOT}.out 4INTERNALPROG= 5FILES= ${BOOT} 6NO_MAN= 7SRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \ 8 putssjis.s 9CLEANFILES= ${BOOT} ${BOOT}.bin 10 11BOOT= boot0.5 12 13# The base address that we the boot0 code to to run it. Don't change this 14# unless you are glutton for punishment. 15BOOT_BOOT0_ORG?= 0x0000 16 17LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-T,${.CURDIR}/ldscript 18 19# The size of boot0.5 must be 7168 bytes 20${BOOT}: ${BOOT}.bin 21 cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168 22 23${BOOT}.bin: ${BOOT}.out 24 objcopy -S -O binary ${BOOT}.out ${.TARGET} 25 26.include <bsd.prog.mk> 27