[Mellanox]: Update Mellanox HW management to V1.0.0030 (#209)
This commit is contained in:
parent
1b49499b65
commit
c0aa0b9c17
@ -1,6 +1,6 @@
|
|||||||
# Mellanox HW Management
|
# Mellanox HW Management
|
||||||
|
|
||||||
MLNX_HW_MANAGEMENT_VERSION = 20.7.2016
|
MLNX_HW_MANAGEMENT_VERSION = V1.0.0030
|
||||||
|
|
||||||
export MLNX_HW_MANAGEMENT_VERSION
|
export MLNX_HW_MANAGEMENT_VERSION
|
||||||
|
|
||||||
|
@ -6,12 +6,13 @@ MAIN_TARGET = hw-management_1.mlnx.$(MLNX_HW_MANAGEMENT_VERSION)_amd64.deb
|
|||||||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||||
# get sources
|
# get sources
|
||||||
sudo rm -rf hw-management
|
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
|
git clone https://github.com/Mellanox/hw-mgmt/ -b $(MLNX_HW_MANAGEMENT_VERSION) hw-management
|
||||||
tar xzf mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION).tar.gz
|
|
||||||
|
|
||||||
# build
|
# build
|
||||||
pushd hw-management
|
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
|
popd
|
||||||
|
|
||||||
mv $* $(DEST)/
|
mv $* $(DEST)/
|
||||||
|
Loading…
Reference in New Issue
Block a user