[Mellanox ] Updated MFT package (#3540)

This commit is contained in:
Nazarii Hnydyn 2019-10-02 02:54:24 +03:00 committed by Qi Luo
parent 91a5bd2c7b
commit 520dca3f8d
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# 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)
@ -13,7 +13,7 @@ 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)

View File

@ -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)