nxp: Makefile: Add kbuild extra symbols

Change-Id: Ia138f572f435b7ef4969c42c3d205df81f6df636
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
This commit is contained in:
chandu078 2023-06-18 19:58:37 +02:00 committed by David Wronek
parent 14da988603
commit f1be06cc51

View File

@ -2,7 +2,8 @@ KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
M ?= $(shell pwd) 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: all:
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS) $(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)