1diff --git a/vboxdrv/Makefile.include.header b/vboxdrv/Makefile.include.header
2index 8df1eb4d25..5a3e5604e7 100644
3--- a/vboxdrv/Makefile.include.header
4+++ b/vboxdrv/Makefile.include.header
5@@ -117,7 +117,6 @@ else # neq($(KERNELRELEASE),)
6 endif # neq($(KERNELRELEASE),)
7
8 # Kernel build folder
9-KERN_DIR := /lib/modules/$(KERN_VER)/build
10 ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
11 $(error Error: unable to find the headers of the Linux kernel to build against. \
12 Specify KERN_VER=<version> and run Make again)
13diff --git a/vboxnetadp/Makefile.include.header b/vboxnetadp/Makefile.include.header
14index 8df1eb4d25..5a3e5604e7 100644
15--- a/vboxnetadp/Makefile.include.header
16+++ b/vboxnetadp/Makefile.include.header
17@@ -117,7 +117,6 @@ else # neq($(KERNELRELEASE),)
18 endif # neq($(KERNELRELEASE),)
19
20 # Kernel build folder
21-KERN_DIR := /lib/modules/$(KERN_VER)/build
22 ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
23 $(error Error: unable to find the headers of the Linux kernel to build against. \
24 Specify KERN_VER=<version> and run Make again)
25diff --git a/vboxnetflt/Makefile.include.header b/vboxnetflt/Makefile.include.header
26index 8df1eb4d25..5a3e5604e7 100644
27--- a/vboxnetflt/Makefile.include.header
28+++ b/vboxnetflt/Makefile.include.header
29@@ -117,7 +117,6 @@ else # neq($(KERNELRELEASE),)
30 endif # neq($(KERNELRELEASE),)
31
32 # Kernel build folder
33-KERN_DIR := /lib/modules/$(KERN_VER)/build
34 ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
35 $(error Error: unable to find the headers of the Linux kernel to build against. \
36 Specify KERN_VER=<version> and run Make again)
37diff --git a/vboxpci/Makefile.include.header b/vboxpci/Makefile.include.header
38index 8df1eb4d25..5a3e5604e7 100644
39--- a/vboxpci/Makefile.include.header
40+++ b/vboxpci/Makefile.include.header
41@@ -117,7 +117,6 @@ else # neq($(KERNELRELEASE),)
42 endif # neq($(KERNELRELEASE),)
43
44 # Kernel build folder
45-KERN_DIR := /lib/modules/$(KERN_VER)/build
46 ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
47 $(error Error: unable to find the headers of the Linux kernel to build against. \
48 Specify KERN_VER=<version> and run Make again)