From f1be06cc511dbddad432e8a2e6a1d96e076f47a3 Mon Sep 17 00:00:00 2001 From: chandu078 Date: Sun, 18 Jun 2023 19:58:37 +0200 Subject: [PATCH] nxp: Makefile: Add kbuild extra symbols Change-Id: Ia138f572f435b7ef4969c42c3d205df81f6df636 Signed-off-by: chandu078 --- nxp/opensource/driver/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)