Skip to content

Commit

Permalink
Fix for missing dependency in the sonic device package and added .dep…
Browse files Browse the repository at this point in the history
… file for yang module (#4471)
  • Loading branch information
Kalimuthu-Velappan authored May 6, 2020
1 parent 46ef6de commit fd953a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions rules/sonic-device-data.dep
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ SPATH := $($(SONIC_DEVICE_DATA)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-device-data.mk rules/sonic-device-data.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
DEP_FILES += $(shell git ls-files $(SPATH))
DEP_FILES += $(shell find device -type l -prune -o -type f -print )

$(SONIC_DEVICE_DATA)_CACHE_MODE := GIT_CONTENT_SHA
$(SONIC_DEVICE_DATA)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
Expand Down
9 changes: 9 additions & 0 deletions rules/sonic-yang-models-py3.dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SPATH := $($(SONIC_YANG_MODELS_PY3)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-yang-models-py3.mk rules/sonic-yang-models-py3.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
DEP_FILES += $(shell git ls-files $(SPATH))

$(SONIC_YANG_MODELS_PY3)_CACHE_MODE := GIT_CONTENT_SHA
$(SONIC_YANG_MODELS_PY3)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
$(SONIC_YANG_MODELS_PY3)_DEP_FILES := $(DEP_FILES)

0 comments on commit fd953a4

Please sign in to comment.