Module Name: src Committed By: rin Date: Sun Mar 14 13:11:59 UTC 2021
Modified Files: src/sys/rump: Makefile.rump Log Message: Build rump for PPC_OEA64 on evbppc64. To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130 src/sys/rump/Makefile.rump Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/Makefile.rump diff -u src/sys/rump/Makefile.rump:1.129 src/sys/rump/Makefile.rump:1.130 --- src/sys/rump/Makefile.rump:1.129 Fri Jun 12 11:04:45 2020 +++ src/sys/rump/Makefile.rump Sun Mar 14 13:11:59 2021 @@ -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 @@ CPPFLAGS+= ${RUMPKERN_UNDEF} 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