diff --git a/iscsi-scst/kernel/Kbuild b/iscsi-scst/kernel/Kbuild index c6d33400d..08feb06b1 100644 --- a/iscsi-scst/kernel/Kbuild +++ b/iscsi-scst/kernel/Kbuild @@ -14,7 +14,9 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -KBUILD_EXTRA_SYMBOLS = $(src)/../../scst/src/Module.symvers +KBUILD_EXTRA_SYMBOLS = $(src)/../../scst/src/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 ccflags-y += $(CONFTEST_CFLAGS)