[Build]: Fix marvell sai package version parsing issue

Fix marvell sai package version parsing issue (#10009)
This commit is contained in:
xumia 2022-02-19 12:16:50 +08:00 committed by xumia
parent da5899b748
commit dce0e7270c
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
# Marvell SAI
export MRVL_SAI_VERSION = 1.8.1-1
export MRVL_SAI = mrvllibsai_$(PLATFORM_ARCH)_$(MRVL_SAI_VERSION).deb
export MRVL_SAI = mrvllibsai_$(MRVL_SAI_VERSION)_$(PLATFORM_ARCH).deb
export MRVL_SAI_PACKAGE = mrvllibsai_$(PLATFORM_ARCH)_$(MRVL_SAI_VERSION).deb
$(MRVL_SAI)_SRC_PATH = $(PLATFORM_PATH)/sai
$(eval $(call add_conflict_package,$(MRVL_SAI),$(LIBSAIVS_DEV)))

View File

@ -2,7 +2,7 @@
SHELL = /bin/bash
.SHELLFLAGS += -e
MRVL_SAI_URL = https://github.com/Marvell-switching/sonic-marvell-binaries/raw/master/armhf/sai-plugin/$(MRVL_SAI)
MRVL_SAI_URL = https://github.com/Marvell-switching/sonic-marvell-binaries/raw/master/armhf/sai-plugin/$(MRVL_SAI_PACKAGE)
$(addprefix $(DEST)/, $(MRVL_SAI)): $(DEST)/% :
# get deb package