51f896b33e
**- Why I did it** python2 is end of life and SONiC is going to support python3. This PR is going to support: 1. Build pmon daemons with python3 2. Install and run python3 version pmon daemons **- How I did it** 1. Change pmon daemons make files to build bothe python2 and python3 whl 2. Change docker-platform-monitor make files to install both python2 and python3 whl 3. Change pmon docker startup files to start pmon daemons according to the supported platform API version
17 lines
742 B
Plaintext
17 lines
742 B
Plaintext
SPATH := $($(SONIC_LEDD_PY2)_SRC_PATH)
|
|
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-ledd.mk rules/sonic-ledd.dep
|
|
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
|
SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files))
|
|
|
|
$(SONIC_LEDD_PY2)_CACHE_MODE := GIT_CONTENT_SHA
|
|
$(SONIC_LEDD_PY2)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
|
$(SONIC_LEDD_PY2)_DEP_FILES := $(DEP_FILES)
|
|
$(SONIC_LEDD_PY2)_SMDEP_FILES := $(SMDEP_FILES)
|
|
$(SONIC_LEDD_PY2)_SMDEP_PATHS := $(SPATH)
|
|
|
|
$(SONIC_LEDD_PY3)_CACHE_MODE := GIT_CONTENT_SHA
|
|
$(SONIC_LEDD_PY3)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
|
$(SONIC_LEDD_PY3)_DEP_FILES := $(DEP_FILES)
|
|
$(SONIC_LEDD_PY3)_SMDEP_FILES := $(SMDEP_FILES)
|
|
$(SONIC_LEDD_PY3)_SMDEP_PATHS := $(SPATH)
|