From 080ef30b200db3d8a35d0fb3c38c681f632aa2b9 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 5 Jun 2002 12:30:45 +0000 Subject: [PATCH] Add explicit dependency on ufsread.c --- sys/boot/i386/boot2/Makefile | 2 +- sys/boot/i386/gptboot/Makefile | 2 +- sys/boot/sparc64/boot1/Makefile | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index 0287ca61bbc4..2883b9315788 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -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 diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile index 0287ca61bbc4..2883b9315788 100644 --- a/sys/boot/i386/gptboot/Makefile +++ b/sys/boot/i386/gptboot/Makefile @@ -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 diff --git a/sys/boot/sparc64/boot1/Makefile b/sys/boot/sparc64/boot1/Makefile index ec41072dfbea..b77671bf6193 100644 --- a/sys/boot/sparc64/boot1/Makefile +++ b/sys/boot/sparc64/boot1/Makefile @@ -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