520fff5b2d
Under rules/config now there's additional configuration option ENABLE_SYNCD_RPC that allows building SONIC installer with docker-syncd-*-rpc for evaluation purposes. Signed-off-by: marian-pritsak <marianp@mellanox.com>
17 lines
671 B
Makefile
17 lines
671 B
Makefile
# docker image for mlnx syncd
|
|
|
|
DOCKER_SYNCD_MLNX = docker-syncd-mlnx.gz
|
|
$(DOCKER_SYNCD_MLNX)_PATH = $(PLATFORM_PATH)/docker-syncd-mlnx
|
|
$(DOCKER_SYNCD_MLNX)_DEPENDS += $(SYNCD) $(MFT) $(PYTHON_SDK_API)
|
|
$(DOCKER_SYNCD_MLNX)_FILES += $(MLNX_FW)
|
|
$(DOCKER_SYNCD_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
|
|
ifneq ($(ENABLE_SYNCD_RPC),y)
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
|
|
endif
|
|
|
|
$(DOCKER_SYNCD_MLNX)_CONTAINER_NAME = syncd
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += --net=host --privileged -t
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|