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:
parent
f1d1b82795
commit
64ee02ff8f
6
external/gpl3/gcc/usr.bin/cpp/Makefile
vendored
6
external/gpl3/gcc/usr.bin/cpp/Makefile
vendored
@ -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\"
|
||||
|
6
external/gpl3/gcc/usr.bin/frontend/Makefile
vendored
6
external/gpl3/gcc/usr.bin/frontend/Makefile
vendored
@ -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.*} \
|
||||
|
Loading…
Reference in New Issue
Block a user