mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
Makefile: add ability to enable qla-32gbit target
Although qla-32gbit is mentioned in the README, but there wasn't really a
way to enable it sans editing the code.
This commit adds an ability to enable the driver by passing
`QLA_32GBIT=y` variable at build time.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9434 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vendored
+7
-6
@@ -13,16 +13,17 @@ export DH_VERBOSE = 1
|
||||
# package maintainers to append LDFLAGS
|
||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
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.
|
||||
# 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 $@
|
||||
|
||||
Reference in New Issue
Block a user