35e41687b4
Why I did it Upgrade both Centec X86 and ARM64 platform containers(syncd/saiserver/syncd-rpc) to bullseye Optimize Centec X86 platform makefile, change sdk.mk to sai.mk How I did it Modify Makefile and Dockerfile to use bullseye Change filename form sdk.mk to sai.mk, optimize and modify related files How to verify it For Centec X86 platform, compile the code with : a) make configure PLATFORM=centec; b) make all For Centec ARM64 platform, cmpile the code with: a) make configure PLATFORM=centec-arm64 PLATFORM_ARCH=arm64; b) make all Verifiy the sonic-centec.bin and sonic-centec-arm64.bin on Centec chip based board.
21 lines
884 B
Makefile
Executable File
21 lines
884 B
Makefile
Executable File
# docker image for centec syncd
|
|
|
|
DOCKER_SYNCD_PLATFORM_CODE = centec
|
|
include $(PLATFORM_PATH)/../template/docker-syncd-bullseye.mk
|
|
|
|
$(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API)
|
|
$(DOCKER_SYNCD_CENTEC)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
|
$(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(SYNCD_DBG) \
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
$(LIBSAIMETADATA_DBG) \
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
$(DOCKER_SYNCD_BASE)_VERSION = 1.0.0
|
|
$(DOCKER_SYNCD_BASE)_PACKAGE_NAME = syncd
|
|
|
|
$(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += --privileged -t
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|