2017-03-24 20:36:56 -05:00
|
|
|
# docker image for brcm syncd with rpc
|
|
|
|
|
2022-11-07 07:47:52 -06:00
|
|
|
DOCKER_SYNCD_BRCM_RPC = docker-syncd-brcm-rpc$(SAITHRIFT_VER).gz
|
|
|
|
DOCKER_SYNCD_BRCM_RPC_DBG = docker-syncd-brcm-rpc$(SAITHRIFT_VER)-$(DBG_IMAGE_MARK).gz
|
2017-03-24 20:36:56 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_PATH = $(PLATFORM_PATH)/docker-syncd-brcm-rpc
|
2022-11-07 07:47:52 -06:00
|
|
|
|
|
|
|
|
|
|
|
#Support two different versions of thrift
|
|
|
|
ifeq ($(SAITHRIFT_V2),y)
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_DEPENDS += $(SYNCD_RPC) $(LIBTHRIFT_0_14_1) $(LIBTHRIFT_0_14_1_DEV) $(PYTHON3_THRIFT_0_14_1) $(THRIFT_0_14_1_COMPILER) $(PTF)
|
|
|
|
else
|
2020-03-18 13:59:39 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_DEPENDS += $(SYNCD_RPC) $(LIBTHRIFT) $(PTF)
|
2022-11-07 07:47:52 -06:00
|
|
|
endif
|
|
|
|
|
2019-04-18 04:25:51 -05:00
|
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_DEPENDS += $(SYNCD_RPC_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIMETADATA_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
endif
|
2019-11-09 12:26:39 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_FILES += $(DSSERVE) $(BCMCMD) $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
2022-11-07 07:47:52 -06:00
|
|
|
|
2019-05-03 04:15:54 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_LOAD_DOCKERS += $(DOCKER_SYNCD_BASE)
|
2022-11-07 07:47:52 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_DBG_DEPENDS += $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_DEPENDS)
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
2017-03-24 20:36:56 -05:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM_RPC)
|
2017-05-30 18:17:03 -05:00
|
|
|
ifeq ($(ENABLE_SYNCD_RPC),y)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM_RPC)
|
|
|
|
endif
|
|
|
|
|
2022-11-07 07:47:52 -06:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_SYNCD_BRCM_RPC_DBG)
|
|
|
|
ifneq ($(ENABLE_SYNCD_RPC),y)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_SYNCD_BRCM_RPC_DBG)
|
|
|
|
endif
|
|
|
|
|
2017-05-30 18:17:03 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_CONTAINER_NAME = syncd
|
2021-11-01 12:02:57 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_VERSION = 1.0.0+rpc
|
2021-04-26 15:51:50 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_PACKAGE_NAME = syncd
|
2020-03-21 20:47:31 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += --privileged -t
|
2017-05-30 18:17:03 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
2019-08-28 13:55:27 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
2017-05-30 18:17:03 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2019-11-20 09:41:04 -06:00
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_BASE_IMAGE_FILES += bcmsh:/usr/bin/bcmsh
|
2021-06-22 13:12:22 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_MACHINE = broadcom
|
2021-08-27 01:13:37 -05:00
|
|
|
|
2022-06-27 15:54:08 -05:00
|
|
|
SONIC_BULLSEYE_DOCKERS += $(DOCKER_SYNCD_BRCM_RPC)
|
2022-11-07 07:47:52 -06:00
|
|
|
SONIC_BULLSEYE_DBG_DOCKERS += $(DOCKER_SYNCD_BRCM_RPC_DBG)
|