From ceafec13e95ec70e34b6e3cda6e75585f3480bb6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 8 Jun 2019 01:56:34 +0000 Subject: [PATCH] iscsi-scst/Makefile: Avoid that 'make' reports an error if InfiniBand support is disabled in the kernel Reported-by: Goran Bruns git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8419 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 f5ac07faf..d3717c6b7 100644 --- a/iscsi-scst/Makefile +++ b/iscsi-scst/Makefile @@ -171,7 +171,7 @@ uninstall: $(MODULE_SYMVERS): $(SCST_DIR)/$(MODULE_SYMVERS) cp $< kernel/ - $(INFINIBAND_ENABLED) && cp $< kernel/isert-scst + if $(INFINIBAND_ENABLED); then cp $< kernel/isert-scst; fi clean: $(MAKE) -C usr $@