Makefile: Fix the scst-rpm build

Fixes: 1cfa1e7f87 ("Makefile: switch to qla-32gbit by default")
This commit is contained in:
Chesnokov Gleb
2021-12-04 23:57:08 +03:00
committed by Gleb Chesnokov
parent 43aa0de32a
commit 9d7cf27c7c

View File

@@ -125,7 +125,7 @@ Authors:
export PREFIX=%{_prefix}
export BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y CONFIG_SCSI_QLA2XXX_TARGET=y
make 2release
for d in scst fcst iscsi-scst qla2x00t/qla2x00-target scst_local srpt; do
for d in scst fcst iscsi-scst qla2x00t-32gbit/qla2x00-target scst_local srpt; do
%{make} -C $d
done
@@ -137,7 +137,7 @@ export BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y CONFIG_SCSI_QLA2XXX_TARGET=y
for d in scst; do
DESTDIR=%{buildroot} %{make} -C $d install
done
for d in fcst iscsi-scst qla2x00t/qla2x00-target scst_local srpt; do
for d in fcst iscsi-scst qla2x00t-32gbit/qla2x00-target scst_local srpt; do
DESTDIR=%{buildroot} INSTALL_MOD_PATH=%{buildroot} %{make} -C $d install
done
# Set the executable bit such that /usr/lib/rpm/find-debuginfo.sh can find the