2019-10-31 11:13:35 -05:00
|
|
|
SDK_VERSION = 3.0.0
|
2020-07-08 08:55:57 -05:00
|
|
|
SAI_VERSION = 1.5.1
|
|
|
|
SAI_COMMIT_ID = c749df
|
2019-10-31 11:13:35 -05:00
|
|
|
|
|
|
|
# Place here URL where SAI deb exist
|
|
|
|
NEPHOS_SAI_DEB_LOCAL_URL =
|
|
|
|
export NEPHOS_SAI_DEB_LOCAL_URL
|
|
|
|
#
|
|
|
|
ifneq ($(NEPHOS_SAI_DEB_LOCAL_URL), )
|
|
|
|
SAI_FROM_LOCAL = y
|
|
|
|
else
|
|
|
|
SAI_FROM_LOCAL = n
|
|
|
|
endif
|
|
|
|
|
2018-12-05 02:30:38 -06:00
|
|
|
NEPHOS_SAI = libsainps_$(SDK_VERSION)_sai_$(SAI_VERSION)_$(SAI_COMMIT_ID)_amd64.deb
|
2019-10-31 11:13:35 -05:00
|
|
|
ifeq ($(SAI_FROM_LOCAL), y)
|
|
|
|
$(NEPHOS_SAI)_PATH = $(NEPHOS_SAI_DEB_LOCAL_URL)
|
|
|
|
else
|
2018-12-05 02:30:38 -06:00
|
|
|
$(NEPHOS_SAI)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps_$(SDK_VERSION)_sai_$(SAI_VERSION)_$(SAI_COMMIT_ID)_amd64.deb"
|
2019-10-31 11:13:35 -05:00
|
|
|
endif
|
2017-12-22 12:04:29 -06:00
|
|
|
|
|
|
|
|
2019-10-31 11:13:35 -05:00
|
|
|
ifeq ($(SAI_FROM_LOCAL), y)
|
2020-07-08 08:55:57 -05:00
|
|
|
SONIC_COPY_DEBS += $(NEPHOS_SAI)
|
2019-10-31 11:13:35 -05:00
|
|
|
else
|
2020-07-08 08:55:57 -05:00
|
|
|
SONIC_ONLINE_DEBS += $(NEPHOS_SAI)
|
2019-10-31 11:13:35 -05:00
|
|
|
endif
|
2017-12-22 12:04:29 -06:00
|
|
|
$(NEPHOS_SAI_DEV)_DEPENDS += $(NEPHOS_SAI)
|