[sonic-dash-api]: Fix wrong path in sonic-dash-api.dep (#18206)
In some local buildings, an error /bin/bash: line 0: cd: src/sonic-dash-api/sonic-dash-api: No such file or directory will be raised due to the directory structure of sonic-dash-api has been changed. Signed-off-by: Ze Gan <ganze718@gmail.com>
This commit is contained in:
parent
f6380a3a6e
commit
544dcfbd3d
@ -3,7 +3,7 @@ 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_FILES_LIST) rules/sonic-dash-api.mk rules/sonic-dash-api.dep
|
||||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||||
DEP_FILES += $(shell git ls-files $(SPATH) | grep -v sonic-dash-api)
|
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))
|
SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH)/ && git ls-files))
|
||||||
|
|
||||||
$(LIB_SONIC_DASH_API)_CACHE_MODE := GIT_CONTENT_SHA
|
$(LIB_SONIC_DASH_API)_CACHE_MODE := GIT_CONTENT_SHA
|
||||||
$(LIB_SONIC_DASH_API)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
$(LIB_SONIC_DASH_API)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||||
|
Loading…
Reference in New Issue
Block a user