Deleted Added
full compact
Makefile (64123) Makefile (125563)
1# $FreeBSD: head/sys/boot/pc98/boot0/Makefile 64123 2000-08-02 08:46:08Z kato $
1# $FreeBSD: head/sys/boot/pc98/boot0/Makefile 125563 2004-02-07 12:19:44Z nyan $
2
2
3PROG= boot0
4OBJS= boot0.o
5NOMAN=
6STRIP=
7BINDIR?= /boot
8BINMODE= 444
3FILES= ${BOOT}
4CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o
9
5
10ORG= 0x0000
6BOOT= boot0
11
7
12boot0: boot0.out
13 objcopy -S -O binary boot0.out ${.TARGET}
8# The base address that we the boot0 code to to run it. Don't change this
9# unless you are glutton for punishment.
10BOOT_BOOT0_ORG?= 0x0000
14
11
15boot0.out: ${OBJS}
16 ${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${OBJS}
12${BOOT}: ${BOOT}.out
13 objcopy -S -O binary ${BOOT}.out ${.TARGET}
17
14
18CLEANFILES+= boot0.out
15${BOOT}.out: ${BOOT}.o
16 ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${.TARGET} ${BOOT}.o
19
20.include <bsd.prog.mk>
17
18.include <bsd.prog.mk>