Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/common Build assembler sources with assembler compil...



details:   https://anonhg.NetBSD.org/src/rev/5b2fe1234327
branches:  trunk
changeset: 759373:5b2fe1234327
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Dec 07 19:51:02 2010 +0000

description:
Build assembler sources with assembler compile rules.

diffstat:

 lib/csu/common/Makefile.inc |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 848f08e62451 -r 5b2fe1234327 lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Tue Dec 07 17:25:40 2010 +0000
+++ b/lib/csu/common/Makefile.inc       Tue Dec 07 19:51:02 2010 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index