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