Deleted Added
sdiff udiff text old ( 64123 ) new ( 125563 )
full compact
1# $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 125563 2004-02-07 12:19:44Z nyan $
2
3FILES= ${BOOT}
4CLEANFILES= ${BOOT} ${BOOT}.bin ${BOOT}.out ${OBJS}
5
6BOOT= boot0.5
7
8SRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s
9OBJS= ${SRCS:N*.h:R:S/$/.o/g}
10
11# The base address that we the boot0 code to to run it. Don't change this
12# unless you are glutton for punishment.
13BOOT_BOOT0_ORG?= 0x0000
14
15# The size of boot0.5 must be 7168 bytes
16${BOOT}: ${BOOT}.bin
17 cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168
18
19${BOOT}.bin: ${BOOT}.out
20 objcopy -S -O binary ${BOOT}.out ${.TARGET}
21
22${BOOT}.out: ${OBJS}
23 ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${.TARGET} ${.ALLSRC}
24
25.include <bsd.prog.mk>