Deleted Added
full compact
1c1
< # $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 64123 2000-08-02 08:46:08Z kato $
---
> # $FreeBSD: head/sys/boot/pc98/boot0.5/Makefile 125563 2004-02-07 12:19:44Z nyan $
3,9c3,4
< PROG= boot0.5
< OBJS= start.o boot.o boot0.5.o disk.o selector.o support.o \
< syscons.o
< NOMAN=
< STRIP=
< BINDIR?= /boot
< BINMODE= 444
---
> FILES= ${BOOT}
> CLEANFILES= ${BOOT} ${BOOT}.bin ${BOOT}.out ${OBJS}
11c6
< ORG= 0x000
---
> BOOT= boot0.5
13,15c8,9
< # The size of boot0.5 must be 7168 bytes
< boot0.5: boot0.5.bin
< cat boot0.5.bin /dev/zero | dd of=boot0.5 bs=1 count=7168
---
> SRCS= start.s boot.s boot0.5.s disk.s selector.s support.s syscons.s
> OBJS= ${SRCS:N*.h:R:S/$/.o/g}
17,18c11,13
< boot0.5.bin: boot0.5.out
< objcopy -S -O binary boot0.5.out ${.TARGET}
---
> # The base address that we the boot0 code to to run it. Don't change this
> # unless you are glutton for punishment.
> BOOT_BOOT0_ORG?= 0x0000
20,21c15,17
< boot0.5.out: ${OBJS}
< ${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${OBJS}
---
> # The size of boot0.5 must be 7168 bytes
> ${BOOT}: ${BOOT}.bin
> cat ${BOOT}.bin /dev/zero | dd of=${BOOT} bs=1 count=7168
23c19,20
< CLEANFILES+= boot0.5.out boot0.5.bin
---
> ${BOOT}.bin: ${BOOT}.out
> objcopy -S -O binary ${BOOT}.out ${.TARGET}
24a22,24
> ${BOOT}.out: ${OBJS}
> ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${.TARGET} ${.ALLSRC}
>