Skip to content

Commit

Permalink
[Mellanox ] Updated MFT package (sonic-net#3540)
Browse files Browse the repository at this point in the history
  • Loading branch information
nazariig authored and qiluo-msft committed Oct 1, 2019
1 parent 91a5bd2 commit 520dca3
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.9.0
MFT_REVISION = 38
MFT_VERSION = 4.12.0
MFT_REVISION = 104

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 520dca3

Please sign in to comment.