Return to Makefile.rump CVS log | Up to [cvs.NetBSD.org] / src / sys / rump |
File: [cvs.NetBSD.org] / src / sys / rump / Makefile.rump (download)
Revision 1.18, Mon Dec 29 22:16:15 2008 UTC (15 years, 3 months ago) by pooka
Switch i386 away from rump/include/machine. This means that rump on i386 now uses the native kernel ABI. This in turn means that rump modules and kernel modules are binary equivalent and can be used interchangeably. |
# $NetBSD: Makefile.rump,v 1.18 2008/12/29 22:16:15 pooka Exp $ # WARNS?= 4 NOLINT= # kernel code # use kernel ABI instead of rump ABI (needs md code) .if ${MACHINE_ARCH} != "i386" CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} .endif CFLAGS+= -ffreestanding CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE CPPFLAGS+= -DDIAGNOSTIC CPPFLAGS+= -I${.CURDIR} -I. CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch CPPFLAGS+= -I${RUMPTOP}/include CPPFLAGS+= -nostdinc -I${RUMPTOP}/.. #CPPFLAGS+= -DDEBUG RUMPKERNEL= This is NetBSD and I am the rump. Good evening. # workaround: evbppc is not a well-defined arch .if (${MACHINE} == "evbppc") CPPFLAGS+= -DPPC_OEA .endif # If an options are changed, trigger a rebuild ${SRCS:S/.c/.o/g}: ${RUMPTOP}/Makefile.rump