Module Name: src
Committed By: pgoyette
Date: Sat Nov 24 18:16:16 UTC 2012
Modified Files:
src/sys/rump/librump/rumpkern/arch/powerpc: Makefile.inc
Log Message:
File is common between pp6 and ppc64 ports, so define ARCH_ELFSIZE
accordingly.
>From christos@, resolves the latest build break
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc
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/librump/rumpkern/arch/powerpc/Makefile.inc
diff -u src/sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc:1.1 src/sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc:1.2
--- src/sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc:1.1 Sun Jul 3 08:53:23 2011
+++ src/sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc Sat Nov 24 18:16:15 2012
@@ -1,4 +1,8 @@
-# $NetBSD: Makefile.inc,v 1.1 2011/07/03 08:53:23 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.2 2012/11/24 18:16:15 pgoyette Exp $
+.if ${MACHINE_ARCH} == "powerpc"
CPPFLAGS+= -DARCH_ELFSIZE=32
+.else
+CPPFLAGS+= -DARCH_ELFSIZE=64
+.endif
SRCS+= kobj_stubs.c rumpcpu_generic.c