Whamcloud - gitweb
LU-11244 build: apply IB_OPTIONS to debian rules 96/32996/2
authorJinshan Xiong <jinshan.xiong@gmail.com>
Tue, 14 Aug 2018 03:33:33 +0000 (20:33 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 23 Aug 2018 07:18:52 +0000 (07:18 +0000)
IB_OPTIONS should be honored when making debian package.

Signed-off-by: Jinshan Xiong <jinshan.xiong@uber.com>
Change-Id: Ibc16a5428d47f072499c39a62ea457c922ae7352
Reviewed-on: https://review.whamcloud.com/32996
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Thomas Stibor <t.stibor@gsi.de>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Martin Schroeder <martin.h.schroeder@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
debian/rules

index 902d4ab..6565c48 100755 (executable)
@@ -68,7 +68,7 @@ KVER?=$(LINUXRELEASE)
 KVERS?=$(KVER)
 KSRC?=$(LINUX_OBJ)
 KSRC_TREE?=$(LINUX)
-IB_OPTIONS?=""
+EXTRA_OPTIONS?=$(IB_OPTIONS)
 
 # Packages provided for both client and server builds
 IOKIT_PKG=lustre-iokit
@@ -437,7 +437,7 @@ kdist_config: prep-deb-files patch-stamp
                --enable-quota \
                --with-kmp-moddir=updates \
                $${EXTRAFLAGS} \
-               $(IB_OPTIONS)
+               $(EXTRA_OPTIONS)
 
 
 kdist_configure: kdist_config