Invite people to turn on debug by defining the make variable
RUMP_DEV_XEN_DEBUG rather than by editing .c files.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
RUMPCOMP_USER_CPPFLAGS+= -I${.CURDIR}/../xen/include
RUMPCOMP_USER_CPPFLAGS+= -I${.CURDIR}/../../../include
+.ifdef RUMP_DEV_XEN_DEBUG
+CPPFLAGS+= -DRUMP_DEV_XEN_DEBUG=1
+RUMPCOMP_USER_CPPFLAGS+= -DRUMP_DEV_XEN_DEBUG=1
+.endif
+
# XXX
.undef RUMPKERN_ONLY
#include <sys/poll.h>
-//#define RUMP_DEV_XEN_DEBUG 1
-
#ifdef RUMP_DEV_XEN_DEBUG
#define DPRINTF(a) (printf a)
#else