add driver-rs6000.c and the remaining powerpc mknative-gcc files. the

ppc native gcc now links but doesn't run yet properly.
This commit is contained in:
mrg 2011-07-02 14:06:42 +00:00
parent f1d1b82795
commit 64ee02ff8f
2 changed files with 10 additions and 2 deletions

View File

@ -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= gcc.c cppspec.c prefix.c version.c
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\"

View File

@ -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= gcc.c version.c intl.c prefix.c opts-common.c gcc-options.c
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.*} \