Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/compat Add MKCOMPAT support for powerpc64.
details: https://anonhg.NetBSD.org/src/rev/ed79d240441b
branches: trunk
changeset: 327420:ed79d240441b
user: matt <matt%NetBSD.org@localhost>
date: Fri Mar 07 04:16:25 2014 +0000
description:
Add MKCOMPAT support for powerpc64.
diffstat:
compat/archdirs.mk | 6 +++++-
compat/powerpc64/powerpc/Makefile | 5 +++++
compat/powerpc64/powerpc/bsd.powerpc.mk | 16 ++++++++++++++++
3 files changed, 26 insertions(+), 1 deletions(-)
diffs (46 lines):
diff -r eec04e7b8142 -r ed79d240441b compat/archdirs.mk
--- a/compat/archdirs.mk Fri Mar 07 04:15:34 2014 +0000
+++ b/compat/archdirs.mk Fri Mar 07 04:16:25 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: archdirs.mk,v 1.3 2013/04/27 08:44:35 matt Exp $
+# $NetBSD: archdirs.mk,v 1.4 2014/03/07 04:16:25 matt Exp $
# list of subdirs used per-platform
@@ -25,3 +25,7 @@
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
ARCHDIR_SUBDIR= mips64/64 mips64/o32
.endif
+
+.if ${MACHINE_ARCH} == "powerpc64"
+ARCHDIR_SUBDIR= powerpc64/powerpc
+.endif
diff -r eec04e7b8142 -r ed79d240441b compat/powerpc64/powerpc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/powerpc64/powerpc/Makefile Fri Mar 07 04:16:25 2014 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2014/03/07 04:16:25 matt Exp $
+
+BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.powerpc.mk
+
+.include "../../compatsubdir.mk"
diff -r eec04e7b8142 -r ed79d240441b compat/powerpc64/powerpc/bsd.powerpc.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/powerpc64/powerpc/bsd.powerpc.mk Fri Mar 07 04:16:25 2014 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: bsd.powerpc.mk,v 1.1 2014/03/07 04:16:25 matt Exp $
+
+LD+= -m elf32ppc_nbsd
+LDFLAGS+= -Wl,-m,elf32ppc_nbsd
+MLIBDIR= powerpc
+LIBC_MACHINE_ARCH= ${MLIBDIR}
+COMMON_MACHINE_ARCH= ${MLIBDIR}
+KVM_MACHINE_ARCH= ${MLIBDIR}
+PTHREAD_MACHINE_ARCH= ${MLIBDIR}
+BFD_MACHINE_ARCH= ${MLIBDIR}
+CSU_MACHINE_ARCH= ${MLIBDIR}
+CRYPTO_MACHINE_CPU= ${MLIBDIR}
+LDELFSO_MACHINE_CPU= ${MLIBDIR}
+GOMP_MACHINE_ARCH= ${MLIBDIR}
+
+.include "${.PARSEDIR}/../../m32.mk"
Home |
Main Index |
Thread Index |
Old Index