dist: set with_ofed to 0 in OC8 kernel
OC need not compile mlnx commercial drivers.
This commit is contained in:
parent
e5646556fd
commit
e9367f76c5
|
@ -218,12 +218,17 @@ Source2001: cpupower.config
|
||||||
# TK4 Legacy CCISS naming rule
|
# TK4 Legacy CCISS naming rule
|
||||||
Source2002: tlinux_cciss_link_compat.modules
|
Source2002: tlinux_cciss_link_compat.modules
|
||||||
|
|
||||||
|
### OC need not compile mlnx commercial drivers
|
||||||
|
%define with_ofed 0
|
||||||
|
|
||||||
|
%if %{with_ofed}
|
||||||
### TK4 Legacy MLNX OFED
|
### TK4 Legacy MLNX OFED
|
||||||
Source3000: MLNX_OFED_SRC-5.8-2.0.3.0.tgz
|
Source3000: MLNX_OFED_SRC-5.8-2.0.3.0.tgz
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
Source3001: MLNX_OFED_LINUX-5.8-3.0.7.0-rhel7.9-x86_64.tgz
|
Source3001: MLNX_OFED_LINUX-5.8-3.0.7.0-rhel7.9-x86_64.tgz
|
||||||
Source3002: install.sh
|
Source3002: install.sh
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
### TK4 Tools Key
|
### TK4 Tools Key
|
||||||
Source4000: tools_key.pub
|
Source4000: tools_key.pub
|
||||||
|
@ -528,8 +533,7 @@ This package provides debug information for the bpftool package.
|
||||||
# with_bpftool
|
# with_bpftool
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#%if %{with_ofed}
|
%if %{with_ofed}
|
||||||
%if 0
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%package -n mlnx-ofed-dist
|
%package -n mlnx-ofed-dist
|
||||||
Summary: Mellonax ofed rpms installation
|
Summary: Mellonax ofed rpms installation
|
||||||
|
@ -1720,8 +1724,7 @@ fi
|
||||||
# with_bpftool
|
# with_bpftool
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#%if %{with_ofed}
|
%if %{with_ofed}
|
||||||
%if 0
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%files -n mlnx-ofed-dist
|
%files -n mlnx-ofed-dist
|
||||||
/mlnx/MLNX_OFED_LINUX-5.8-3.0.7.0-rhel7.9-x86_64-ext.%{kernel_unamer}.tgz
|
/mlnx/MLNX_OFED_LINUX-5.8-3.0.7.0-rhel7.9-x86_64-ext.%{kernel_unamer}.tgz
|
||||||
|
|
Loading…
Reference in New Issue