diff --git a/nxp/opensource/driver/Makefile b/nxp/opensource/driver/Makefile index 2f7bcf4f7e..1e14e72d0f 100644 --- a/nxp/opensource/driver/Makefile +++ b/nxp/opensource/driver/Makefile @@ -2,7 +2,8 @@ KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build M ?= $(shell pwd) -KBUILD_OPTIONS+= NFC_ROOT=$(KERNEL_SRC)/$(M) +KBUILD_OPTIONS += NFC_ROOT=$(KERNEL_SRC)/$(M) +KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(OUT_DIR)/../sm8650-modules/qcom/opensource/securemsm-kernel/Module.symvers all: $(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)