Fix for missing dependency in the sonic device package and added .dep file for yang module (#4471)
This commit is contained in:
parent
46ef6defa7
commit
fd953a437e
@ -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)
|
||||
|
9
rules/sonic-yang-models-py3.dep
Normal file
9
rules/sonic-yang-models-py3.dep
Normal file
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user