From 547f0a6895b72bb5b567d448a17a4c019659558c Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Sat, 15 Aug 2020 16:36:34 -0700 Subject: [PATCH] [redis-dump-load] Add dpkg cache dependency file for Python 3 package (#5195) Add dpkg cache dependency file for Python 3 redis-dump-load wheel package to enable caching --- rules/redis-dump-load-py3.dep | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rules/redis-dump-load-py3.dep diff --git a/rules/redis-dump-load-py3.dep b/rules/redis-dump-load-py3.dep new file mode 100644 index 0000000000..1c230acd1f --- /dev/null +++ b/rules/redis-dump-load-py3.dep @@ -0,0 +1,10 @@ +SPATH := $($(REDIS_DUMP_LOAD_PY3)_SRC_PATH) +DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/redis-dump-load-py3.mk rules/redis-dump-load-py3.dep +DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST) +SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files)) + +$(REDIS_DUMP_LOAD_PY3)_CACHE_MODE := GIT_CONTENT_SHA +$(REDIS_DUMP_LOAD_PY3)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) +$(REDIS_DUMP_LOAD_PY3)_DEP_FILES := $(DEP_FILES) +$(REDIS_DUMP_LOAD_PY3)_SMDEP_FILES := $(SMDEP_FILES) +$(REDIS_DUMP_LOAD_PY3)_SMDEP_PATHS := $(SPATH)