sonic-buildimage/platform/mellanox/hw-management/Makefile

15 lines
289 B
Makefile
Raw Normal View History

.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)/