Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/usr.bin add driver-rs6000.c and the remain...
details: https://anonhg.NetBSD.org/src/rev/bffff19f686d
branches: trunk
changeset: 766812:bffff19f686d
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jul 02 14:06:42 2011 +0000
description:
add driver-rs6000.c and the remaining powerpc mknative-gcc files. the
ppc native gcc now links but doesn't run yet properly.
diffstat:
external/gpl3/gcc/usr.bin/cpp/Makefile | 6 +++++-
external/gpl3/gcc/usr.bin/frontend/Makefile | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r d354a720be03 -r bffff19f686d external/gpl3/gcc/usr.bin/cpp/Makefile
--- a/external/gpl3/gcc/usr.bin/cpp/Makefile Sat Jul 02 14:05:03 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/cpp/Makefile Sat Jul 02 14:06:42 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/06/29 02:17:17 mrg Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/02 14:06:42 mrg Exp $
# For ../Makefile.inc and bsd.own.mk
.include <bsd.init.mk>
@@ -11,6 +11,10 @@
SRCS+= driver-i386.c
.PATH: ${DIST}/gcc/config/i386
.endif
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
+SRCS+= driver-rs6000.c
+.PATH: ${DIST}/gcc/config/rs6000
+.endif
CPPFLAGS+= -I${BACKENDOBJ}
CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\"
diff -r d354a720be03 -r bffff19f686d external/gpl3/gcc/usr.bin/frontend/Makefile
--- a/external/gpl3/gcc/usr.bin/frontend/Makefile Sat Jul 02 14:05:03 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/frontend/Makefile Sat Jul 02 14:06:42 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/06/29 02:16:52 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2011/07/02 14:06:42 mrg Exp $
LIBISPRIVATE= yes
@@ -14,6 +14,10 @@
SRCS+= driver-i386.c
.PATH: ${DIST}/gcc/config/i386
.endif
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
+SRCS+= driver-rs6000.c
+.PATH: ${DIST}/gcc/config/rs6000
+.endif
CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
Home |
Main Index |
Thread Index |
Old Index