summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index c927390..aef7129 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -22,8 +22,8 @@ ccflags-y := -I$(src)/include -I$(src)/architecture -I$(src)/version -Wall -Wext
# mdev dependencies
KBUILD_MODPOST_WARN := 1
-# Use symbols from host nvidia.ko
-KBUILD_EXTRA_SYMBOLS := $OPEN_IOV_ROOT/nvidia-open-gpu-kernel-modules/kernel-open/Module.symvers
+# Use symbols from host nvidia.ko (path resolved relative to this repo)
+KBUILD_EXTRA_SYMBOLS := $(abspath $(src)/../nvidia-open-gpu-kernel-modules/kernel-open/Module.symvers)
all:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules