Index: /trunk/src/VBox/Installer/linux/Makefile-header.gmk
===================================================================
--- /trunk/src/VBox/Installer/linux/Makefile-header.gmk	(revision 78446)
+++ /trunk/src/VBox/Installer/linux/Makefile-header.gmk	(revision 78447)
@@ -174,5 +174,9 @@
 
  ifeq ($(KERN_DIR),)
-  KERN_DIR := /lib/modules/$(KERN_VER)/build
+  ifneq ($(srctree),)
+   KERN_DIR := $(srctree)
+  else
+   KERN_DIR := /lib/modules/$(KERN_VER)/build
+  endif
  endif
 endif # neq($(KERNELRELEASE),)
