forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frr.dep
19 lines (16 loc) · 751 Bytes
/
frr.dep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SPATH := $($(FRR)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/frr.mk rules/frr.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
DEP_FILES += $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files |grep -Ev '^frr$$$$'))
# Account for source files under the frr submodule directory as well.
# Remove all the symbolic link files
FRR_SPATH := $(SPATH)/frr
SMDEP_FILES := $(addprefix $(FRR_SPATH)/,$(shell cd $(FRR_SPATH) && git ls-files \
| grep -Ev -e 'debian/changelog$$$$' \
-e "$$(find -L tests/ -xtype l)" \
))
$(FRR)_CACHE_MODE := GIT_CONTENT_SHA
$(FRR)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
$(FRR)_DEP_FILES := $(DEP_FILES)
$(FRR)_SMDEP_FILES := $(SMDEP_FILES)
$(FRR)_SMDEP_PATHS := $(FRR_SPATH)