2018-08-10 02:02:09 -05:00
|
|
|
.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
|
2021-01-18 15:10:27 -06:00
|
|
|
KVERSION=$(KVERSION) dpkg-buildpackage -us -uc -b -rfakeroot -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)
|
2018-08-10 02:02:09 -05:00
|
|
|
popd
|
|
|
|
|
|
|
|
mv $* $(DEST)/
|