Add explicit dependency on ufsread.c
This commit is contained in:
parent
9601e333a8
commit
080ef30b20
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user