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

Lustre-change: https://review.whamcloud.com/32996
Lustre-commit: 65904fd6fbfbd9dc9f8d3498950b77e81961075f

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

index dd2acb2..b2b2eca 100755 (executable)
@@ -54,7 +54,7 @@ KVER?=$(LINUXRELEASE)
 KVERS?=$(KVER)
 KSRC?=$(LINUX_OBJ)
 KSRC_TREE?=$(LINUX)
-IB_OPTIONS?=""
+EXTRA_OPTIONS?=$(IB_OPTIONS)
 
 # Packages
 UTILS_PKG=lustre-utils
@@ -336,7 +336,7 @@ kdist_config: prep-deb-files patch-stamp
                    --disable-tests \
                    --enable-quota \
                    --with-kmp-moddir=updates \
-                   $(IB_OPTIONS)
+                   $(EXTRA_OPTIONS)
 
 kdist_configure: kdist_config