From c65abef8424290bbd98452f87545fa5c7a0d86d2 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 24 Jun 2021 03:59:38 +0000 Subject: [PATCH] debian/rules: Only build fcst if libfc has been enabled in the kernel (trunk r9429) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9464 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index f78e364a0..25f3668b0 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ export DH_VERBOSE = 1 # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -SUBDIRS=scst fcst iscsi-scst qla2x00t/qla2x00-target scst_local scstadmin srpt +SUBDIRS=scst $(shell grep -qw '^CONFIG_LIBFC' /boot/config-$(uname -r) && echo fcst) iscsi-scst qla2x00t/qla2x00-target scst_local scstadmin srpt DESTDIR=$(CURDIR)/debian/tmp VERSION:=$(shell head -n1 debian/changelog | sed 's/.*(\([0-9.]*\).*).*/\1/')