Fully synchronize sys/boot from FreeBSD-5.x, but add / to the module path
[dragonfly.git] / sys / boot / pc98 / boot0.5 / Makefile
CommitLineData
5ee58eed
MD
1# $FreeBSD: src/sys/boot/pc98/boot0.5/Makefile,v 1.1 2000/08/02 08:46:08 kato Exp $
2# $DragonFly: src/sys/boot/pc98/boot0.5/Attic/Makefile,v 1.3 2003/11/10 06:08:38 dillon Exp $
984263bc
MD
3
4PROG= boot0.5
5OBJS= start.o boot.o boot0.5.o disk.o selector.o support.o \
6 syscons.o
7NOMAN=
8STRIP=
9BINDIR?= /boot
10BINMODE= 444
11
12ORG= 0x000
13
14# The size of boot0.5 must be 7168 bytes
15boot0.5: boot0.5.bin
16 cat boot0.5.bin /dev/zero | dd of=boot0.5 bs=1 count=7168
17
18boot0.5.bin: boot0.5.out
19 objcopy -S -O binary boot0.5.out ${.TARGET}
20
21boot0.5.out: ${OBJS}
22 ${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${OBJS}
23
24CLEANFILES+= boot0.5.out boot0.5.bin
25
26.include <bsd.prog.mk>