summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-06-05 12:30:45 +0000
committerphk <phk@FreeBSD.org>2002-06-05 12:30:45 +0000
commit12c36bfb94e95d0f9c4ebb1e1e407ca44b3f9c24 (patch)
tree34a29e6405b284043ecb58c576277e615c6c10e6 /sys/boot
parent0961c455f8e5016fb94b035bc9a95dc3ebf3d391 (diff)
downloadFreeBSD-src-12c36bfb94e95d0f9c4ebb1e1e407ca44b3f9c24.zip
FreeBSD-src-12c36bfb94e95d0f9c4ebb1e1e407ca44b3f9c24.tar.gz
Add explicit dependency on ufsread.c
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot2/Makefile2
-rw-r--r--sys/boot/i386/gptboot/Makefile2
-rw-r--r--sys/boot/sparc64/boot1/Makefile2
3 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 0287ca6..2883b93 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 0287ca6..2883b93 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 ec41072..b77671b 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
OpenPOWER on IntegriCloud