diff --git a/devices/Kbuild.in b/devices/Kbuild.in
index be7dac3300eb52bd05221d7edeb511be18d6546c..4832b7d136df406f58732a17fdbfabc28931c376 100644
--- a/devices/Kbuild.in
+++ b/devices/Kbuild.in
@@ -62,4 +62,8 @@ ifeq (@ENABLE_R8169@,1)
 	CFLAGS_$(EC_R8169_OBJ) = -DSVNREV=$(REV)
 endif
 
+KBUILD_EXTRA_SYMBOLS := \
+	@abs_top_builddir@/Module.symvers \
+	@abs_top_builddir@/master/Module.symvers
+
 #------------------------------------------------------------------------------
diff --git a/devices/Makefile.am b/devices/Makefile.am
index 018140cc678134a0c1ed9aa5081e02a1699fa95f..a828364e9ff3d7dc1203a3381a6016d61ee35b0c 100644
--- a/devices/Makefile.am
+++ b/devices/Makefile.am
@@ -70,7 +70,7 @@ BUILT_SOURCES = \
 	Kbuild
 
 modules:
-	$(MAKE) -C "@abs_top_srcdir@" modules
+	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
 
 modules_install:
 	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
diff --git a/devices/e1000/Kbuild.in b/devices/e1000/Kbuild.in
index 9c5b219d492cd560989897c51b216bb504b90200..bbf56dde9e89c8b0147ddba926eef433aee28296 100644
--- a/devices/e1000/Kbuild.in
+++ b/devices/e1000/Kbuild.in
@@ -50,4 +50,8 @@ ifeq (@ENABLE_E1000@,1)
 	CFLAGS_e1000_main-@KERNEL_E1000@-ethercat.o = -DSVNREV=$(REV)
 endif
 
+KBUILD_EXTRA_SYMBOLS := \
+	@abs_top_builddir@/Module.symvers \
+	@abs_top_builddir@/master/Module.symvers
+
 #------------------------------------------------------------------------------
diff --git a/devices/e1000/Makefile.am b/devices/e1000/Makefile.am
index 817295ec74d5c347f6a55b4575686553eaf818a1..596d38a0acea61c88fd90736605d9accf68b62eb 100644
--- a/devices/e1000/Makefile.am
+++ b/devices/e1000/Makefile.am
@@ -119,7 +119,7 @@ BUILT_SOURCES = \
 	Kbuild
 
 modules:
-	$(MAKE) -C "@abs_top_srcdir@" modules
+	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
 
 modules_install:
 	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
diff --git a/examples/dc_rtai/Kbuild.in b/examples/dc_rtai/Kbuild.in
index 7d0e57b4e026e3c71bdee0d3518d9e55aeed5948..b7c118a9a422dece410a4351a80cec6b2720e4be 100644
--- a/examples/dc_rtai/Kbuild.in
+++ b/examples/dc_rtai/Kbuild.in
@@ -37,4 +37,8 @@ ec_dc_rtai_sample-objs := dc_rtai_sample.o
 
 EXTRA_CFLAGS := -I@RTAI_DIR@/include
 
+KBUILD_EXTRA_SYMBOLS := \
+	@abs_top_builddir@/Module.symvers \
+	@abs_top_builddir@/master/Module.symvers
+
 #------------------------------------------------------------------------------
diff --git a/examples/mini/Kbuild.in b/examples/mini/Kbuild.in
index 63efaa1e5a2d27776200d819b18fdb97ec167af1..157b5b1ec7d69446ae39863c6812bd4b740d8af9 100644
--- a/examples/mini/Kbuild.in
+++ b/examples/mini/Kbuild.in
@@ -35,4 +35,8 @@ obj-m := ec_mini.o
 
 ec_mini-objs := mini.o
 
+KBUILD_EXTRA_SYMBOLS := \
+	@abs_top_builddir@/Module.symvers \
+	@abs_top_builddir@/master/Module.symvers
+
 #------------------------------------------------------------------------------
diff --git a/examples/rtai/Kbuild.in b/examples/rtai/Kbuild.in
index 48c621d144e783532c982f58e33c3d8bf17889ac..4d263100217b178c8dbaa32218e03285f6fe0f85 100644
--- a/examples/rtai/Kbuild.in
+++ b/examples/rtai/Kbuild.in
@@ -37,4 +37,8 @@ ec_rtai_sample-objs := rtai_sample.o
 
 EXTRA_CFLAGS := -I@RTAI_DIR@/include
 
+KBUILD_EXTRA_SYMBOLS := \
+	@abs_top_builddir@/Module.symvers \
+	@abs_top_builddir@/master/Module.symvers
+
 #------------------------------------------------------------------------------
diff --git a/master/Makefile.am b/master/Makefile.am
index a5f499aa4e6fc5df32dc2db69ed8d4c62d516429..5fe082bb4e8b84d60390b55d4c9f19e39b3ebfd3 100644
--- a/master/Makefile.am
+++ b/master/Makefile.am
@@ -72,7 +72,7 @@ BUILT_SOURCES = \
 	Kbuild
 
 modules:
-	$(MAKE) -C "@abs_top_srcdir@" modules
+	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
 
 modules_install:
 	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)