Skip to content

Commit

Permalink
[Mellanox]: Update Mellanox HW management to V1.0.0030 (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandrivantsiv authored and Shuotian Cheng committed Jan 25, 2017
1 parent 1b49499 commit c0aa0b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion platform/mellanox/hw-management.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mellanox HW Management

MLNX_HW_MANAGEMENT_VERSION = 20.7.2016
MLNX_HW_MANAGEMENT_VERSION = V1.0.0030

export MLNX_HW_MANAGEMENT_VERSION

Expand Down
7 changes: 4 additions & 3 deletions platform/mellanox/hw-management/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ MAIN_TARGET = hw-management_1.mlnx.$(MLNX_HW_MANAGEMENT_VERSION)_amd64.deb
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
# get sources
sudo rm -rf hw-management
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
tar xzf mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION).tar.gz
git clone https://github.com/Mellanox/hw-mgmt/ -b $(MLNX_HW_MANAGEMENT_VERSION) hw-management

# build
pushd hw-management
sudo debian/rules binary KVERSION=$(KVERSION)
sed "s~@SED_VERSION@~$(MLNX_HW_MANAGEMENT_VERSION)~" -i debian/changelog
chmod +x ./debian/rules
sudo ./debian/rules binary KVERSION=$(KVERSION)
popd

mv $* $(DEST)/

0 comments on commit c0aa0b9

Please sign in to comment.