Index: /trunk/src/VBox/Runtime/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Runtime/Makefile.kmk	(revision 59046)
+++ /trunk/src/VBox/Runtime/Makefile.kmk	(revision 59047)
@@ -1711,10 +1711,10 @@
  RuntimeR0_DEFS        += RT_NO_GIP
 endif
-ifdef VBOX_WITH_DTRACE_R0
+if defined(VBOX_WITH_DTRACE_R0) && !defined(VBOX_ONLY_VALIDATIONKIT)
  RuntimeR0_DEFS        += IPRT_WITH_DTRACE IPRT_DTRACE_PREFIX=VBOXVMM_ IPRT_DTRACE_INCLUDE=\"dtrace/VBoxVMM.h\"
 endif
 RuntimeR0_INCS          = include
 RuntimeR0_SOURCES      := \
-	../VMM/VBoxVMM.d \
+	$(if $(VBOX_ONLY_VALIDATIONKIT),,../VMM/VBoxVMM.d) \
 	common/log/logellipsis.cpp \
 	common/log/logrelellipsis.cpp \
