From 1dd41fa3808930c812ee9d54262b5326e6f603df Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 30 Nov 2016 03:06:38 +0000 Subject: [PATCH] generate-kernel-patch: fix custom cross-compilation kernel case Otherwise there is non-fatal error like: No such file or directory grep: /lib/modules//build/.config: Permission denied This is a better version of r7022 suggested by Bart git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7037 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/Makefile b/iscsi-scst/Makefile index 3da8c716d..421b77325 100644 --- a/iscsi-scst/Makefile +++ b/iscsi-scst/Makefile @@ -48,7 +48,7 @@ ifeq ($(INSTALL_MOD_PATH),) endif INSTALL_DIR := $(INSTALL_MOD_PATH)/lib/modules/$(KVER)/extra -INFINIBAND_ENABLED := $(shell if grep -wq 'ib_register_client' $$(dirname "$(KDIR)")/modules.symbols; then echo true; else echo false; fi) +INFINIBAND_ENABLED = $(shell if grep -wq 'ib_register_client' $$(dirname "$(KDIR)")/modules.symbols; then echo true; else echo false; fi) all: progs mods