82fb3a099d
* new platform api, chassis part
* Inject mlnx mlx libs to platform monitor
* address the review comments
* remove some confusing naming.
* Adjust the minor cause to a more human-readable way when rebooted by firmware
* address review comments
* expose host dir /host/reboot-cause to pmon docker so that the reboot causing by user command can be identified
* 1. Revert "expose host dir /host/reboot-cause to pmon docker so that the reboot causing by user command can be identified"
Since the only hardware-causing reboot should be handled by get_reboot_cause and the logic of handling reboot cause is about to move to the host side, no need to mount this dir to pmon docker.
This reverts commit 3feb96869d
.
2. adjust log output by using sonic_daemon_base.daemon_base.Logger.
3. remove the logic of verifying /host/reboot-cause/ files.
4. fix typo.
* implement get_firmware_version and adjust the interfaces regarding components' version retrieving according to the Azure/sonic-platform-common#34
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
include $(PLATFORM_PATH)/sdk.mk
|
|
include $(PLATFORM_PATH)/fw.mk
|
|
include $(PLATFORM_PATH)/mft.mk
|
|
include $(PLATFORM_PATH)/mlnx-sai.mk
|
|
include $(PLATFORM_PATH)/hw-management.mk
|
|
include $(PLATFORM_PATH)/mlnx-platform-api.mk
|
|
include $(PLATFORM_PATH)/docker-syncd-mlnx.mk
|
|
include $(PLATFORM_PATH)/docker-syncd-mlnx-rpc.mk
|
|
include $(PLATFORM_PATH)/docker-saiserver-mlnx.mk
|
|
include $(PLATFORM_PATH)/one-image.mk
|
|
include $(PLATFORM_PATH)/libsaithrift-dev.mk
|
|
include $(PLATFORM_PATH)/docker-ptf-mlnx.mk
|
|
include $(PLATFORM_PATH)/mlnx-sfpd.mk
|
|
include $(PLATFORM_PATH)/mlnx-ffb.mk
|
|
include $(PLATFORM_PATH)/issu-version.mk
|
|
|
|
SONIC_ALL += $(SONIC_ONE_IMAGE) \
|
|
$(DOCKER_FPM)
|
|
|
|
# Inject mlnx sai into sairedis
|
|
$(LIBSAIREDIS)_DEPENDS += $(MLNX_SAI) $(LIBSAITHRIFT_DEV)
|
|
|
|
# Runtime dependency on mlnx sai is set only for syncd
|
|
$(SYNCD)_RDEPENDS += $(MLNX_SAI)
|
|
|
|
# Inject mlnx sdk libs to platform monitor
|
|
$(DOCKER_PLATFORM_MONITOR)_DEPENDS += $(APPLIBS) $(SX_COMPLIB) $(SXD_LIBS) $(SX_GEN_UTILS) $(PYTHON_SDK_API) $(APPLIBS_DEV) $(SX_COMPLIB_DEV) $(SXD_LIBS_DEV) $(SX_GEN_UTILS_DEV)
|
|
|
|
# Inject mlnx mlx libs to platform monitor
|
|
$(DOCKER_PLATFORM_MONITOR)_DEPENDS += $(MFT)
|