Skip to content

Commit

Permalink
Update Mellanox MFT packedge. (sonic-net#2825)
Browse files Browse the repository at this point in the history
[mellanox] Update Mellanox MFT packedge
  • Loading branch information
nazariig authored and MichelMoriniaux committed May 28, 2019
1 parent e7ae771 commit d51feba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions platform/mellanox/mft.mk
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Mellanox SAI

MFT_VERSION = 4.11.0
MFT_REVISION = 65
MFT_VERSION = 4.12.0
MFT_REVISION = 34

export MFT_VERSION MFT_REVISION

MFT = mft-$(MFT_VERSION)-$(MFT_REVISION).amd64.deb
MFT = mft_$(MFT_VERSION)-$(MFT_REVISION)_amd64.deb
$(MFT)_SRC_PATH = $(PLATFORM_PATH)/mft
$(MFT)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
SONIC_MAKE_DEBS += $(MFT)

KERNEL_MFT = kernel-mft-dkms_$(MFT_VERSION)-$(KVERSION)_all.deb
$(eval $(call add_derived_package,$(MFT),$(KERNEL_MFT)))

MFT_OEM = mft-oem-$(MFT_VERSION)-$(MFT_REVISION).amd64.deb
MFT_OEM = mft-oem_$(MFT_VERSION)-$(MFT_REVISION)_amd64.deb
$(eval $(call add_derived_package,$(MFT),$(MFT_OEM)))

SONIC_STRETCH_DEBS += $(KERNEL_MFT)
4 changes: 2 additions & 2 deletions platform/mellanox/mft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MFT_NAME = mft-$(MFT_VERSION)-$(MFT_REVISION)-x86_64-deb
MFT_TGZ = $(MFT_NAME).tgz
SRC_DEB = kernel-mft-dkms_$(MFT_VERSION)-$(MFT_REVISION)_all.deb

MAIN_TARGET = mft-$(MFT_VERSION)-$(MFT_REVISION).amd64.deb
DERIVED_TARGETS = kernel-mft-dkms_$(MFT_VERSION)-$(KVERSION)_all.deb mft-oem-$(MFT_VERSION)-$(MFT_REVISION).amd64.deb
MAIN_TARGET = mft_$(MFT_VERSION)-$(MFT_REVISION)_amd64.deb
DERIVED_TARGETS = kernel-mft-dkms_$(MFT_VERSION)-$(KVERSION)_all.deb mft-oem_$(MFT_VERSION)-$(MFT_REVISION)_amd64.deb

$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf $(MFT_NAME)
Expand Down

0 comments on commit d51feba

Please sign in to comment.