summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-02-07 13:38:47 +0000
committerru <ru@FreeBSD.org>2004-02-07 13:38:47 +0000
commitaff53081b3a5d795eb73cb6a091c05ad84d68958 (patch)
tree7247f109c2ec90dfa8176e14adbd619ea13d8744 /sys/boot/i386
parenta1e0ad4bf3b12f2aad6b934ea006fef4c1720e02 (diff)
downloadFreeBSD-src-aff53081b3a5d795eb73cb6a091c05ad84d68958.zip
FreeBSD-src-aff53081b3a5d795eb73cb6a091c05ad84d68958.tar.gz
Generate .depend file.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/boot2/Makefile2
-rw-r--r--sys/boot/i386/gptboot/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 364c21f..830ef15 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -81,6 +81,8 @@ boot2.out: ${BTXCRT} boot2.o sio.o
boot2.o: boot2.s
+SRCS= boot2.c boot2.h
+
boot2.s: boot2.c boot2.h ${.CURDIR}/../../common/ufsread.c
${CC} ${CFLAGS} -S -o boot2.s.tmp ${.CURDIR}/boot2.c
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 364c21f..830ef15 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -81,6 +81,8 @@ boot2.out: ${BTXCRT} boot2.o sio.o
boot2.o: boot2.s
+SRCS= boot2.c boot2.h
+
boot2.s: boot2.c boot2.h ${.CURDIR}/../../common/ufsread.c
${CC} ${CFLAGS} -S -o boot2.s.tmp ${.CURDIR}/boot2.c
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
OpenPOWER on IntegriCloud