Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump Build rump for PPC_OEA64 on evbppc64.



details:   https://anonhg.NetBSD.org/src/rev/dcfbeeed3179
branches:  trunk
changeset: 1019564:dcfbeeed3179
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Mar 14 13:11:59 2021 +0000

description:
Build rump for PPC_OEA64 on evbppc64.

diffstat:

 sys/rump/Makefile.rump |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r b272861c18b1 -r dcfbeeed3179 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Sun Mar 14 11:49:37 2021 +0000
+++ b/sys/rump/Makefile.rump    Sun Mar 14 13:11:59 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.129 2020/06/12 11:04:45 roy Exp $
+#      $NetBSD: Makefile.rump,v 1.130 2021/03/14 13:11:59 rin Exp $
 #
 
 .if !defined(_RUMP_MK)
@@ -136,8 +136,12 @@
 RUMPKERNEL=    This is NetBSD and I am the rump.  Good evening.
 
 # workaround: evbppc is not a well-defined arch
-.if (${MACHINE} == "evbppc")
+.if ${MACHINE} == "evbppc"
+.  if ${MACHINE_ARCH} == "powerpc"
 CPPFLAGS+=     -DPPC_OEA
+.  else
+CPPFLAGS+=     -DPPC_OEA64
+.  endif
 .endif
 
 # If any of these files change, we need a full rebuild



Home | Main Index | Thread Index | Old Index