ifeq ($(ENABLE_PY2_MODULES), y) SPATH := $($(REDIS_DUMP_LOAD_PY2)_SRC_PATH) DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/redis-dump-load-py2.mk rules/redis-dump-load-py2.dep DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST) SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files)) $(REDIS_DUMP_LOAD_PY2)_CACHE_MODE := GIT_CONTENT_SHA $(REDIS_DUMP_LOAD_PY2)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) $(REDIS_DUMP_LOAD_PY2)_DEP_FILES := $(DEP_FILES) $(REDIS_DUMP_LOAD_PY2)_SMDEP_FILES := $(SMDEP_FILES) $(REDIS_DUMP_LOAD_PY2)_SMDEP_PATHS := $(SPATH) endif