PERFORCE change 227975 for review
Philip Withnall
prw35 at FreeBSD.org
Mon Apr 22 09:51:06 UTC 2013
http://p4web.freebsd.org/@@227975?ac=10
Change 227975 by prw35 at pwithnall_zenith on 2013/04/22 09:50:10
Remove debugging code from CSU's MIPS Makefile
We shouldn't copy to /tmp; it breaks shared builds.
Affected files ...
.. //depot/projects/ctsrd/cheribsd/src/lib/csu/mips/Makefile#5 edit
Differences ...
==== //depot/projects/ctsrd/cheribsd/src/lib/csu/mips/Makefile#5 (text+ko) ====
@@ -33,42 +33,33 @@
gcrt1_c.s: crt1_c.c
${CC} ${CFLAGS} -DGCRT -S -o ${.TARGET} ${.CURDIR}/crt1_c.c
sed ${SED_FIX_NOTE} ${.TARGET}
- cp ${.TARGET} /tmp
gcrt1_c.o: gcrt1_c.s
${CC} ${ACFLAGS} -c -o ${.TARGET} gcrt1_c.s
- cp ${.TARGET} /tmp
gcrt1.o: gcrt1_c.o crt1_s.o
${LD} ${LDFLAGS} -o gcrt1.o -r crt1_s.o gcrt1_c.o
- cp ${.TARGET} /tmp
# Compile crt1_c.c without -DGCRT
crt1_c.s: crt1_c.c
${CC} ${CFLAGS} -S -o ${.TARGET} ${.CURDIR}/crt1_c.c
sed ${SED_FIX_NOTE} ${.TARGET}
- cp ${.TARGET} /tmp
crt1_c.o: crt1_c.s
${CC} ${ACFLAGS} -c -o ${.TARGET} crt1_c.s
- cp ${.TARGET} /tmp
crt1.o: crt1_c.o crt1_s.o
${LD} ${LDFLAGS} -o crt1.o -r crt1_s.o crt1_c.o
- cp ${.TARGET} /tmp
# Compile crt1_c.c with -fPIC -DPIC
Scrt1_c.s: crt1_c.c
${CC} ${CFLAGS} -fPIC -DPIC -S -o ${.TARGET} ${.CURDIR}/crt1_c.c
sed ${SED_FIX_NOTE} ${.TARGET}
- cp ${.TARGET} /tmp
Scrt1_c.o: Scrt1_c.s
${CC} ${ACFLAGS} -c -o ${.TARGET} Scrt1_c.s
- cp ${.TARGET} /tmp
Scrt1.o: Scrt1_c.o crt1_s.o
${LD} ${LDFLAGS} -o Scrt1.o -r crt1_s.o Scrt1_c.o
- cp ${.TARGET} /tmp
.include <bsd.prog.mk>
More information about the p4-projects
mailing list