Module Name:    src
Committed By:   mrg
Date:           Sat Jul  2 14:06:42 UTC 2011

Modified Files:
        src/external/gpl3/gcc/usr.bin/cpp: Makefile
        src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
add driver-rs6000.c and the remaining powerpc mknative-gcc files.  the
ppc native gcc now links but doesn't run yet properly.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.2 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.2	Wed Jun 29 02:17:17 2011
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Sat Jul  2 14:06:42 2011
@@ -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\"

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.3 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.3	Wed Jun 29 02:16:52 2011
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Sat Jul  2 14:06:42 2011
@@ -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.*} \

Reply via email to