6a3c05f498
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
15 lines
289 B
Makefile
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)/
|