summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-07 20:56:09 +0000
committerphk <phk@FreeBSD.org>2002-10-07 20:56:09 +0000
commit6cc4e6467cb46d86352e6241553a86e4d64b1212 (patch)
treeb69cb0da8cffcda85eb48b3897a99b139fb2b08a /sys/boot/i386/gptboot/Makefile
parentcbd79f434a85229deae9b8f0dc15f447eac26da2 (diff)
downloadFreeBSD-src-6cc4e6467cb46d86352e6241553a86e4d64b1212.zip
FreeBSD-src-6cc4e6467cb46d86352e6241553a86e4d64b1212.tar.gz
Change the comment character from # to // in boot1.s and run
it through CPP so we can conditionalized things. Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r--sys/boot/i386/gptboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index e4ab3f5..4526d15 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -49,7 +49,8 @@ boot1.out: boot1.o
${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} boot1.o
boot1.o: boot1.s
- ${AS} ${AFLAGS} --defsym FLAGS=${B1FLAGS} ${.IMPSRC} -o ${.TARGET}
+ ${CPP} ${CFLAGS} ${.IMPSRC} | \
+ ${AS} ${AFLAGS} --defsym FLAGS=${B1FLAGS} -o ${.TARGET}
boot2.o: boot2.c ${.CURDIR}/../../common/ufsread.c
${CC} ${CFLAGS} -S -o boot2.s.tmp ${.IMPSRC}
OpenPOWER on IntegriCloud