2016-12-14 13:59:24 -06:00
|
|
|
# docker image for brcm syncd
|
|
|
|
|
|
|
|
DOCKER_SYNCD_BRCM = docker-syncd-brcm.gz
|
|
|
|
$(DOCKER_SYNCD_BRCM)_PATH = $(PLATFORM_PATH)/docker-syncd-brcm
|
|
|
|
$(DOCKER_SYNCD_BRCM)_DEPENDS += $(SYNCD)
|
2019-04-18 04:25:51 -05:00
|
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
|
|
$(DOCKER_SYNCD_BRCM)_DEPENDS += $(SYNCD_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIMETADATA_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
endif
|
2016-12-25 02:44:06 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM)_FILES += $(DSSERVE) $(BCMCMD)
|
2017-05-25 15:18:32 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
2016-12-14 13:59:24 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM)
|
2017-05-30 18:17:03 -05:00
|
|
|
ifneq ($(ENABLE_SYNCD_RPC),y)
|
2017-02-01 02:09:02 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM)
|
2017-05-30 18:17:03 -05:00
|
|
|
endif
|
2017-02-01 02:09:02 -06:00
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BRCM)_CONTAINER_NAME = syncd
|
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
2017-02-10 09:39:05 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
2017-02-01 02:09:02 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2018-10-01 21:01:04 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
2017-03-06 14:22:42 -06:00
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
|
2018-06-06 17:39:23 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmsh:/usr/bin/bcmsh
|