From bdf2c68e8a465528483d9c69b3931901b24f94c0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 16 Jun 2015 13:27:49 +0000 Subject: [PATCH] iscsi-scst/Makefile: Only report the OFED flavor when building the iSER target driver git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6320 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/iscsi-scst/Makefile b/iscsi-scst/Makefile index 2291e6269..1df57d882 100644 --- a/iscsi-scst/Makefile +++ b/iscsi-scst/Makefile @@ -101,12 +101,12 @@ else endif mods: Modules.symvers Module.symvers - echo " Building against $(OFED_FLAVOR) InfiniBand kernel headers." $(MAKE) -C $(KDIR) SCST_INC_DIR=$(SCST_INC_DIR) SUBDIRS=$(KMOD) modules - if $(INFINIBAND_ENABLED); then \ - $(MAKE) -C $(KDIR) SCST_INC_DIR=$(SCST_INC_DIR) SUBDIRS=$(ISERTMOD) \ - PRE_CFLAGS="$(OFED_CFLAGS) -DOFED_FLAVOR=$(OFED_FLAVOR)" \ - KBUILD_EXTRA_SYMBOLS=$(ISER_SYMVERS) modules; \ + if $(INFINIBAND_ENABLED); then \ + echo " Building against $(OFED_FLAVOR) InfiniBand kernel headers."; \ + $(MAKE) -C $(KDIR) SCST_INC_DIR=$(SCST_INC_DIR) SUBDIRS=$(ISERTMOD) \ + PRE_CFLAGS="$(OFED_CFLAGS) -DOFED_FLAVOR=$(OFED_FLAVOR)" \ + KBUILD_EXTRA_SYMBOLS=$(ISER_SYMVERS) modules; \ fi progs: @@ -131,7 +131,7 @@ install: all if $(INFINIBAND_ENABLED); then \ $(MAKE) -C $(KDIR) SCST_INC_DIR=$(SCST_INC_DIR) SUBDIRS=$(ISERTMOD) \ $$([ -n "$(DESTDIR)$(INSTALL_MOD_PATH)" ] && echo DEPMOD=true) \ - modules_install + modules_install; \ fi uninstall: