[Build] Fix the dash cache dependency issue (#15851)
#### Why I did it [Build] Fix the dash cache dependency issue ``` 12:47:34 [ finished ] [ target/files/bullseye/ctrmgrd.service ] 12:47:36 fatal: Unable to hash src/sonic-dash-api/sonic-dash-api 12:47:36 make: *** [Makefile.cache:528: target/debs/bullseye/libdashapi_1.0.0_amd64.deb.smdep] Error 123 12:47:36 make: *** Waiting for unfinished jobs.... ``` ##### Work item tracking - Microsoft ADO **(number only)**: 24547630
This commit is contained in:
parent
fea10546f2
commit
e73f1110ad
@ -2,7 +2,8 @@
|
||||
SPATH := $($(LIB_SONIC_DASH_API)_SRC_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-dash-api.mk rules/sonic-dash-api.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files))
|
||||
DEP_FILES += $(shell git ls-files $(SPATH) | grep -v sonic-dash-api)
|
||||
SMDEP_FILES := $(addprefix $(SPATH)/sonic-dash-api/,$(shell cd $(SPATH)/sonic-dash-api && git ls-files))
|
||||
|
||||
$(LIB_SONIC_DASH_API)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(LIB_SONIC_DASH_API)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
|
Reference in New Issue
Block a user