From a7446766c5314e4f8d82fe6ca7687b464e6f6f62 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 19 Jul 2020 01:19:49 +0000 Subject: [PATCH] isert-scst Makefile: Add the SCST Module.symvers file This patch fixes a linker error when cross-compiling for ARM on x86_64. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9055 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iscsi-scst/kernel/isert-scst/Makefile b/iscsi-scst/kernel/isert-scst/Makefile index e430979a9..545578432 100644 --- a/iscsi-scst/kernel/isert-scst/Makefile +++ b/iscsi-scst/kernel/isert-scst/Makefile @@ -21,7 +21,8 @@ # Note 2! The CFLAGS definitions are now in the main makefile. LINUXINCLUDE := $(PRE_CFLAGS) $(LINUXINCLUDE) -KBUILD_EXTRA_SYMBOLS=$(src)/../../kernel/Module.symvers \ +KBUILD_EXTRA_SYMBOLS = $(src)/../../../scst/src/Module.symvers \ + $(src)/../../kernel/Module.symvers \ $(shell for d in /usr/src/ofa_kernel/default/Module.symvers; do\ [ -e $$d ] || continue; echo $$d; break; done) ccflags-y += -I$(src)/../../include -I$(src)/../../../scst/include