sonic-buildimage/platform/mellanox/hw-management/Makefile
Volodymyr Samotiy 6a3c05f498 [mellanox]: Update recipe for hw-mgmt according to latest changes (#40)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-11 09:09:03 +00:00

15 lines
289 B
Makefile

.ONESHELL:
SHELL = /bin/bash
MAIN_TARGET = hw-management_1.mlnx.$(MLNX_HW_MANAGEMENT_VERSION)_amd64.deb
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
pushd hw-mgmt
git am ../*.patch
chmod +x ./debian/rules
sudo ./debian/rules binary KVERSION=$(KVERSION)
popd
mv $* $(DEST)/