From b7ed3f8e77eaf552ac4eec6f26f757958d345f7b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 31 May 2021 02:52:04 +0000 Subject: [PATCH] Makefile: switch to qla-32gbit by default Bart Van Assche noted that currently there are more people using the 32gbit driver than there are people using the older one. So it might make sense to finally make switch and default to the 32gbit driver. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9435 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- debian/rules | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/debian/rules b/debian/rules index a7ddeba14..53a3f307e 100755 --- a/debian/rules +++ b/debian/rules @@ -13,17 +13,16 @@ export DH_VERBOSE = 1 # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -# rules won't see variables unless they're using DEB_foo_SET syntax. So use that -# as an intermediary. Also, export variables for sub-makes to be able to see -# them. +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/') + +# rules won't see variables unless they're using DEB_foo_SET syntax. So use that as +# an intermediary. Also, export variables for sub-makes to be able to see them. export KVER=$(DEB_KVER_SET) export KDIR=$(DEB_KDIR_SET) export CC=$(DEB_CC_SET) -SUBDIRS=scst $(shell grep -qw '^CONFIG_LIBFC' /boot/config-$(KVER) && 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/') - %: echo "*** dh $@ ***" dh $@