File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Mellanox HW Management
2
2
3
- MLNX_HW_MANAGEMENT_VERSION = 20.7.2016
3
+ MLNX_HW_MANAGEMENT_VERSION = V1.0.0030
4
4
5
5
export MLNX_HW_MANAGEMENT_VERSION
6
6
Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ MAIN_TARGET = hw-management_1.mlnx.$(MLNX_HW_MANAGEMENT_VERSION)_amd64.deb
6
6
$(addprefix $(DEST ) /, $(MAIN_TARGET ) ) : $(DEST ) /% :
7
7
# get sources
8
8
sudo rm -rf hw-management
9
- wget -N -O mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION ) .tar.gz https://github.com/Mellanox/mellanox-openswitch/raw/master/hw-mgmt/mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION ) .tar.gz
10
- tar xzf mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION ) .tar.gz
9
+ git clone https://github.com/Mellanox/hw-mgmt/ -b $(MLNX_HW_MANAGEMENT_VERSION ) hw-management
11
10
12
11
# build
13
12
pushd hw-management
14
- sudo debian/rules binary KVERSION=$(KVERSION)
13
+ sed "s~@SED_VERSION@~$(MLNX_HW_MANAGEMENT_VERSION)~" -i debian/changelog
14
+ chmod +x ./debian/rules
15
+ sudo ./debian/rules binary KVERSION=$(KVERSION)
15
16
popd
16
17
17
18
mv $* $(DEST)/
You can’t perform that action at this time.
0 commit comments