Add sx-kernel to all targets (#138)
Define sx-kernel pckages in sdk.mk Add them to SONIC_ALL
This commit is contained in:
parent
775156f3bf
commit
b8ca9c4047
@ -14,7 +14,8 @@ SONIC_ALL += $(DOCKER_SYNCD_MLNX) \
|
||||
$(DOCKER_SNMP_SV2) \
|
||||
$(DOCKER_TEAM) \
|
||||
$(DOCKER_PLATFORM_MONITOR) \
|
||||
debs/$(MLNX_HW_MANAGEMENT)
|
||||
debs/$(MLNX_HW_MANAGEMENT) \
|
||||
debs/$(SX_KERNEL)
|
||||
|
||||
# Inject mlnx sai into sairedis
|
||||
$(LIBSAIREDIS)_DEPENDS += $(MLNX_SAI)
|
||||
|
@ -39,6 +39,9 @@ SXD_LIBS_DEV_STATIC = sxd-libs-dev-static_1.mlnx.$(MLNX_SDK_VERSION)_amd64.deb
|
||||
$(eval $(call add_derived_package,$(SXD_LIBS),$(SXD_LIBS_DEV_STATIC)))
|
||||
#packages that are required for runtime only
|
||||
PYTHON_SDK_API = python-sdk-api_1.mlnx.$(MLNX_SDK_VERSION)_amd64.deb
|
||||
SX_KERNEL = sx-kernel_1.mlnx.$(MLNX_SDK_VERSION)_amd64.deb
|
||||
SX_KERNEL_DEV = sx-kernel-dev_1.mlnx.$(MLNX_SDK_VERSION)_amd64.deb
|
||||
$(eval $(call add_derived_package,$(SX_KERNEL),$(SX_KERNEL_DEV)))
|
||||
|
||||
define make_url
|
||||
$(1)_URL = $(MLNX_SDK_BASE_URL)/$(1)
|
||||
@ -47,6 +50,6 @@ endef
|
||||
|
||||
$(eval $(foreach deb,$(MLNX_SDK_DEBS),$(call make_url,$(deb))))
|
||||
$(eval $(foreach deb,$(MLNX_SDK_RDEBS),$(call make_url,$(deb))))
|
||||
$(eval $(foreach deb,$(PYTHON_SDK_API),$(call make_url,$(deb))))
|
||||
$(eval $(foreach deb,$(PYTHON_SDK_API) $(SX_KERNEL) $(SX_KERNEL_DEV),$(call make_url,$(deb))))
|
||||
|
||||
SONIC_ONLINE_DEBS += $(MLNX_SDK_RDEBS) $(PYTHON_SDK_API)
|
||||
SONIC_ONLINE_DEBS += $(MLNX_SDK_RDEBS) $(PYTHON_SDK_API) $(SX_KERNEL)
|
||||
|
Loading…
Reference in New Issue
Block a user