summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-04-28 16:16:16 +0000
committerru <ru@FreeBSD.org>2004-04-28 16:16:16 +0000
commitc09b1207a4149f75dfefe3652d6f0870ca52efa8 (patch)
treede93e115971ce4ac9dc5e0ec014694e43c865984 /sys/boot/i386
parent59b5c3d082d3142a035521a32c99f1efb3935de8 (diff)
downloadFreeBSD-src-c09b1207a4149f75dfefe3652d6f0870ca52efa8.zip
FreeBSD-src-c09b1207a4149f75dfefe3652d6f0870ca52efa8.tar.gz
Temporary precaution measure until repocopy requests are
processed: don't forget to clean generated .s sources.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/boot0/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/boot/i386/boot0/Makefile b/sys/boot/i386/boot0/Makefile
index a87526f..84758f2 100644
--- a/sys/boot/i386/boot0/Makefile
+++ b/sys/boot/i386/boot0/Makefile
@@ -35,10 +35,12 @@ AFLAGS+=--defsym FLAGS=${BOOT_BOOT0_FLAGS} \
LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-S,--oformat,binary
-.include <bsd.prog.mk>
+CLEANFILES+= boot0.s
+boot0.s: boot0_512.s
+ cpp -USIO < ${.ALLSRC} > ${.TARGET}
-boot0.s: boot0_512.s
- cpp -USIO < ${.CURDIR}/boot0_512.s > boot0.s
+CLEANFILES+= boot0sio.s
+boot0sio.s: boot0_512.s
+ cpp -DSIO < ${.ALLSRC} > ${.TARGET}
-boot0sio.s: ${.CURDIR}/../boot0/boot0_512.s
- cpp -DSIO < ${.CURDIR}/../boot0/boot0_512.s > boot0sio.s
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud