Support powerpc64
This commit is contained in:
parent
028c9feb3f
commit
78811b2bfb
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user