summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-12-18 07:13:53 +0000
committerimp <imp@FreeBSD.org>2002-12-18 07:13:53 +0000
commitdbae8d7a6fdb1fe07f142229ff712bc8a39850fd (patch)
tree88262f2bced0dff81b22d210543f4662ccd23f6c /sys/boot
parent4cd656bce57be3b2017fefeaf60dfb4f04833101 (diff)
downloadFreeBSD-src-dbae8d7a6fdb1fe07f142229ff712bc8a39850fd.zip
FreeBSD-src-dbae8d7a6fdb1fe07f142229ff712bc8a39850fd.tar.gz
I didn't intend to delete this rm from the Makefile. It snuck in at
the last second before the commit. # likely we can remove this hack now that gcc generates better aligned code # in the align to word case. Noticed by: bde
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot2/Makefile1
-rw-r--r--sys/boot/i386/gptboot/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 2c81624..ab0ea2f 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -61,6 +61,7 @@ boot1.o: boot1.s
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
${AS} ${AFLAGS} -o boot2.o boot2.s
boot2.h: boot1.out
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 2c81624..ab0ea2f 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -61,6 +61,7 @@ boot1.o: boot1.s
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
${AS} ${AFLAGS} -o boot2.o boot2.s
boot2.h: boot1.out
OpenPOWER on IntegriCloud