c0d1616f89
Consolidate common SONiC Python-language functionality into one shared package (sonic-py-common) and eliminate duplicate code. The package currently includes three modules: - daemon_base - device_info - logger
13 lines
581 B
Plaintext
13 lines
581 B
Plaintext
SPATH := $($(SONIC_PY_COMMON_PY2)_SRC_PATH)
|
|
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-py-common.mk rules/sonic-py-common.dep
|
|
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
|
DEP_FILES += $(shell git ls-files $(SPATH))
|
|
|
|
$(SONIC_PY_COMMON_PY2)_CACHE_MODE := GIT_CONTENT_SHA
|
|
$(SONIC_PY_COMMON_PY2)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
|
$(SONIC_PY_COMMON_PY2)_DEP_FILES := $(DEP_FILES)
|
|
|
|
$(SONIC_PY_COMMON_PY3)_CACHE_MODE := GIT_CONTENT_SHA
|
|
$(SONIC_PY_COMMON_PY3)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
|
$(SONIC_PY_COMMON_PY3)_DEP_FILES := $(DEP_FILES)
|