NetBSD/sys/rump/Makefile.rump
pooka 4b68af9947 Prevent amd64 compiler flag -mcmodel=kernel for rump kernel code.
This allows to compile rump libraries as shared libraries also on mad64.

Problem spotted by Greg Oster.  I guess his build broke or something ...
2008-07-29 20:18:25 +00:00

19 lines
503 B
Makefile

# $NetBSD: Makefile.rump,v 1.11 2008/07/29 20:18:25 pooka Exp $
#
WARNS?= 4
NOLINT= # kernel code
CFLAGS+= -ffreestanding
CPPFLAGS+= -D_KERNEL -D_RUMPKERNEL -DDIAGNOSTIC
CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS}
CPPFLAGS+= -I${.CURDIR} -I.
CPPFLAGS+= -I${RUMPTOP}/../../common/include
CPPFLAGS+= -nostdinc -I${RUMPTOP}/..
#CPPFLAGS+= -DDEBUG
RUMPKERNEL= This is NetBSD and I am the rump. Good evening.
# If an options are changed, trigger a rebuild
${SRCS:S/.c/.o/g}: ${RUMPTOP}/Makefile.rump