Add explicit dependency on ufsread.c

This commit is contained in:
Poul-Henning Kamp 2002-06-05 12:30:45 +00:00
parent 9601e333a8
commit 080ef30b20
3 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,7 @@ boot1.out: boot1.o
boot1.o: boot1.s
${AS} ${AFLAGS} --defsym FLAGS=${B1FLAGS} ${.IMPSRC} -o ${.TARGET}
boot2.o: boot2.c
boot2.o: boot2.c ${.CURDIR}/../../common/ufsread.c
${CC} ${CFLAGS} -S -o boot2.s.tmp ${.IMPSRC}
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp

View File

@ -49,7 +49,7 @@ boot1.out: boot1.o
boot1.o: boot1.s
${AS} ${AFLAGS} --defsym FLAGS=${B1FLAGS} ${.IMPSRC} -o ${.TARGET}
boot2.o: boot2.c
boot2.o: boot2.c ${.CURDIR}/../../common/ufsread.c
${CC} ${CFLAGS} -S -o boot2.s.tmp ${.IMPSRC}
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp

View File

@ -17,6 +17,8 @@ boot1.elf: _start.o boot1.o
boot1.aout: boot1.elf
elf2aout -o ${.TARGET} ${.ALLSRC}
boot1.o: ${.CURDIR}/../../common/ufsread.c
# Construct boot1. disklabel expects it to contain zeroed-out space for the
# label, and to be of the correct size.
boot1: boot1.aout