summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorross <ross@NetBSD.org>2006-07-10 23:06:51 +0000
committerross <ross@NetBSD.org>2006-07-10 23:06:51 +0000
commit78811b2bfb2c0631289d6f39b875b21f4e33ca5d (patch)
tree84a90fca7170d08b4ec7b24a9146f3a053cf983e /gnu
parent028c9feb3f54e2886977ab507bc125b3d5f29c9d (diff)
Support powerpc64
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb6/sim/Makefile5
-rw-r--r--gnu/usr.bin/gdb6/sim/ppc/Makefile8
-rw-r--r--gnu/usr.bin/gdb6/sim/psim/Makefile7
3 files changed, 12 insertions, 8 deletions
diff --git a/gnu/usr.bin/gdb6/sim/Makefile b/gnu/usr.bin/gdb6/sim/Makefile
index 24b5d61b8dd..3369450e30a 100644
--- a/gnu/usr.bin/gdb6/sim/Makefile
+++ b/gnu/usr.bin/gdb6/sim/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2006/05/15 16:31:37 nathanw Exp $
+# $NetBSD: Makefile,v 1.2 2006/07/10 23:06:51 ross Exp $
.include <bsd.own.mk>
# PSIM support for PowerPC.
-.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpcle
+.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpcle || \
+ ${MACHINE_ARCH} == powerpc64
SUBDIR+= ppc psim
.endif
diff --git a/gnu/usr.bin/gdb6/sim/ppc/Makefile b/gnu/usr.bin/gdb6/sim/ppc/Makefile
index e72fd1b6876..b7a58f3b89d 100644
--- a/gnu/usr.bin/gdb6/sim/ppc/Makefile
+++ b/gnu/usr.bin/gdb6/sim/ppc/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2006/05/15 16:31:37 nathanw Exp $
+# $NetBSD: Makefile,v 1.2 2006/07/10 23:06:51 ross Exp $
MKPRIVATELIB= yes
+NOGCCERROR=
.include <bsd.own.mk>
@@ -21,13 +22,14 @@ MIC= ${HOST_SH} ${DIST}/move-if-change
HOST_CPPFLAGS+= -I. \
-I${DIST}/sim/ppc -I${DIST}/include \
- -I${.CURDIR}/../../arch/powerpc \
+ -I${.CURDIR}/../../arch/${MACHINE_ARCH} \
+ -I${.CURDIR}/../../bfd/arch/${MACHINE_ARCH} \
-I${DIST}/bfd \
-I${.CURDIR}/../../gdb \
-I${DIST}/gdb \
-I${DIST}/gdb/config \
-DHAVE_COMMON_FPU \
- -I${.CURDIR}/../arch/powerpc \
+ -I${.CURDIR}/../arch/${MACHINE_ARCH} \
-I${DIST}/sim/common
PSIM_DEFINES= -DHAVE_CONFIG_H \
-DDEFAULT_INLINE=PSIM_INLINE_LOCALS \
diff --git a/gnu/usr.bin/gdb6/sim/psim/Makefile b/gnu/usr.bin/gdb6/sim/psim/Makefile
index 6259007d8be..8a605a13aa8 100644
--- a/gnu/usr.bin/gdb6/sim/psim/Makefile
+++ b/gnu/usr.bin/gdb6/sim/psim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/05/15 19:11:51 nathanw Exp $
+# $NetBSD: Makefile,v 1.3 2006/07/10 23:06:51 ross Exp $
NOMAN= # defined
@@ -12,13 +12,14 @@ SRCS= main.c
HOST_CPPFLAGS+= -I. \
-I${DIST}/sim/ppc -I${DIST}/include \
- -I${.CURDIR}/../../arch/powerpc \
+ -I${.CURDIR}/../../arch/${MACHINE_ARCH} \
+ -I${.CURDIR}/../../bfd/arch/${MACHINE_ARCH} \
-I${DIST}/bfd \
-I${.CURDIR}/../../gdb \
-I${DIST}/gdb \
-I${DIST}/gdb/config \
-DHAVE_COMMON_FPU \
- -I${.CURDIR}/../arch/powerpc \
+ -I${.CURDIR}/../arch/${MACHINE_ARCH} \
-I${DIST}/sim/common
PSIM_DEFINES= -DHAVE_CONFIG_H \
-DDEFAULT_INLINE=PSIM_INLINE_LOCALS \