Module Name: src Committed By: joerg Date: Tue Dec 7 19:51:03 UTC 2010
Modified Files: src/lib/csu/common: Makefile.inc Log Message: Build assembler sources with assembler compile rules. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/csu/common/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/csu/common/Makefile.inc diff -u src/lib/csu/common/Makefile.inc:1.1 src/lib/csu/common/Makefile.inc:1.2 --- src/lib/csu/common/Makefile.inc:1.1 Sat Aug 7 18:01:33 2010 +++ src/lib/csu/common/Makefile.inc Tue Dec 7 19:51:02 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.1 2010/08/07 18:01:33 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.2 2010/12/07 19:51:02 joerg Exp $ .include <bsd.own.mk> @@ -14,7 +14,7 @@ crtbegin.o: crtbegin.S ${_MKTARGET_COMPILE} - ${COMPILE.c} ${ARCHDIR}/crtbegin.S -o ${.TARGET}.o + ${COMPILE.S} ${ARCHDIR}/crtbegin.S -o ${.TARGET}.o ${LD} -x -r -o ${.TARGET} ${.TARGET}.o rm -f ${.TARGET}.o .if ${MKSTRIPIDENT} != "no" @@ -23,7 +23,7 @@ crtbeginS.o: crtbegin.S ${_MKTARGET_COMPILE} - ${COMPILE.c} -DSHARED ${ARCHDIR}/crtbegin.S -o ${.TARGET}.o + ${COMPILE.S} -DSHARED ${ARCHDIR}/crtbegin.S -o ${.TARGET}.o ${LD} -x -r -o ${.TARGET} ${.TARGET}.o rm -f ${.TARGET}.o .if ${MKSTRIPIDENT} != "no" @@ -32,7 +32,7 @@ crtend.o: crtend.S ${_MKTARGET_COMPILE} - ${COMPILE.c} ${ARCHDIR}/crtend.S -o ${.TARGET}.o + ${COMPILE.S} ${ARCHDIR}/crtend.S -o ${.TARGET}.o ${LD} -x -r -o ${.TARGET} ${.TARGET}.o rm -f ${.TARGET}.o .if ${MKSTRIPIDENT} != "no" @@ -48,7 +48,7 @@ crt0.o: crt0-common.c crt0.S ${_MKTARGET_COMPILE} ${COMPILE.c} ${PICFLAGS} ${COMMON_DIR}/crt0-common.c -o ${.TARGET}.c.o - ${COMPILE.c} ${ARCHDIR}/crt0.S -o ${.TARGET}.S.o + ${COMPILE.S} ${ARCHDIR}/crt0.S -o ${.TARGET}.S.o ${LD} -x -r -o ${.TARGET} ${.TARGET}.c.o ${.TARGET}.S.o rm -f ${.TARGET}.c.o ${.TARGET}.S.o .if ${MKSTRIPIDENT} != "no" @@ -58,7 +58,7 @@ gcrt0.o: crt0-common.c crt0.S ${_MKTARGET_COMPILE} ${COMPILE.c} ${PICFLAGS} -DMCRT0 ${COMMON_DIR}/crt0-common.c -o ${.TARGET}.c.o - ${COMPILE.c} ${ARCHDIR}/crt0.S -o ${.TARGET}.S.o + ${COMPILE.S} ${ARCHDIR}/crt0.S -o ${.TARGET}.S.o ${LD} -x -r -o ${.TARGET} ${.TARGET}.c.o ${.TARGET}.S.o rm -f ${.TARGET}.c.o ${.TARGET}.S.o .if ${MKSTRIPIDENT} != "no"