Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Add MKCOMPAT support for aarch64 (...
details: https://anonhg.NetBSD.org/src/rev/d2dee4777a08
branches: trunk
changeset: 331480:d2dee4777a08
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 11 22:03:25 2014 +0000
description:
Add MKCOMPAT support for aarch64 (COMPAT_MACHINE_CPU)
diffstat:
sys/rump/librump/rumpkern/Makefile.rumpkern | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 01c9ca1f5f2b -r d2dee4777a08 sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern Mon Aug 11 20:57:28 2014 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern Mon Aug 11 22:03:25 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rumpkern,v 1.148 2014/08/10 16:44:36 tls Exp $
+# $NetBSD: Makefile.rumpkern,v 1.149 2014/08/11 22:03:25 matt Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@@ -201,7 +201,11 @@
# the kernel of our compat target (amd64->i386 & sparc64->sparc), so
# take MD stuff from the right arch.
#
-.ifdef MLIBDIR
+.if defined(COMPAT_MACHINE_CPU) \
+ && exists(${RUMPTOP}/librump/rumpkern/arch/${COMPAT_MACHINE_CPU})
+ARCHDIR= ${RUMPTOP}/librump/rumpkern/arch/${COMPAT_MACHINE_CPU}
+LIBKERN_ARCH= ${COMPAT_MACHINE_CPU}
+.elif defined(MLIBDIR)
ARCHDIR= ${RUMPTOP}/librump/rumpkern/arch/${MLIBDIR}
LIBKERN_ARCH= ${MLIBDIR}
.elif exists(${RUMPTOP}/librump/rumpkern/arch/${MACHINE_CPU})
Home |
Main Index |
Thread Index |
Old Index