2021-07-23 11:21:15 -05:00
|
|
|
SPATH := $($(SONIC_PY_COMMON_PY3)_SRC_PATH)
|
2020-07-27 01:15:41 -05:00
|
|
|
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))
|
|
|
|
|
2021-07-23 11:21:15 -05:00
|
|
|
ifeq ($(ENABLE_PY2_MODULES), y)
|
|
|
|
$(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)
|
|
|
|
endif
|
2020-07-27 01:15:41 -05:00
|
|
|
|
|
|
|
$(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)
|