mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 19:51:27 +00:00
iscsi: Make ofed detection logic less noisy as well as fix non MLNX_OFED compilation
Proposed-by: Lev Vainblat <lev@zadarastorage.com> Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5519 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -54,7 +54,7 @@ all: include/iscsi_scst_itf_ver.h progs mods
|
||||
ISER_SYMVERS:=$(KMOD)/Module.symvers
|
||||
OFED_CFLAGS:=
|
||||
|
||||
MLNX_OFED:=$(shell if ofed_info | grep MLNX_OFED 2>/dev/null; then echo true; else echo false; fi)
|
||||
MLNX_OFED:=$(shell if ofed_info | grep MLNX_OFED >/dev/null 2>/dev/null; then echo true; else echo false; fi)
|
||||
|
||||
ifeq ($(MLNX_OFED),true)
|
||||
# Whether MLNX_OFED for ubuntu has been installed
|
||||
|
||||
Reference in New Issue
Block a user