]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/boot/pc98/boot0.5/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / boot / pc98 / boot0.5 / Makefile
1 # $FreeBSD$
2
3 PROG=   ${BOOT}.out
4 INTERNALPROG=
5 FILES=  ${BOOT}
6 NO_MAN=
7 SRCS=   start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s \
8         putssjis.s
9 CLEANFILES= ${BOOT} ${BOOT}.bin
10
11 BOOT=   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.
15 BOOT_BOOT0_ORG?=        0x0000
16
17 LDFLAGS=-e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-N,-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>