Support dpkg cache for marvell-armhf (#9381)
Why I did it Support marvell-armhf dpkg cache
This commit is contained in:
parent
4b357044b3
commit
69ac3e7294
8
platform/marvell-armhf/docker-saiserver-mrvl.dep
Normal file
8
platform/marvell-armhf/docker-saiserver-mrvl.dep
Normal file
@ -0,0 +1,8 @@
|
||||
DPATH := $($(DOCKER_SAISERVER_MRVL)_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/marvell-armhf/docker-saiserver-mrvl.mk platform/marvell-armhf/docker-saiserver-mrvl.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files $(DPATH))
|
||||
|
||||
$(DOCKER_SAISERVER_MRVL)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(DOCKER_SAISERVER_MRVL)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(DOCKER_SAISERVER_MRVL)_DEP_FILES := $(DEP_FILES)
|
8
platform/marvell-armhf/docker-syncd-mrvl-rpc.dep
Normal file
8
platform/marvell-armhf/docker-syncd-mrvl-rpc.dep
Normal file
@ -0,0 +1,8 @@
|
||||
DPATH := $($(DOCKER_SYNCD_MRVL_RPC)_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) $(PLATFORM_PATH)/docker-syncd-mrvl-rpc.mk $(PLATFORM_PATH)/docker-syncd-mrvl-rpc.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files $(DPATH))
|
||||
|
||||
$(DOCKER_SYNCD_MRVL_RPC)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(DOCKER_SYNCD_MRVL_RPC)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(DOCKER_SYNCD_MRVL_RPC)_DEP_FILES := $(DEP_FILES)
|
10
platform/marvell-armhf/docker-syncd-mrvl.dep
Normal file
10
platform/marvell-armhf/docker-syncd-mrvl.dep
Normal file
@ -0,0 +1,10 @@
|
||||
DPATH := $($(DOCKER_SYNCD_BASE)_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/marvell-armhf/docker-syncd-mrvl.mk platform/marvell-armhf/docker-syncd-mrvl.dep platform/marvell-armhf/sai.mk
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files $(DPATH))
|
||||
|
||||
$(DOCKER_SYNCD_BASE)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(DOCKER_SYNCD_BASE)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(DOCKER_SYNCD_BASE)_DEP_FILES := $(DEP_FILES)
|
||||
|
||||
$(eval $(call add_dbg_docker,$(DOCKER_SYNCD_BASE),$(DOCKER_SYNCD_BASE_DBG)))
|
11
platform/marvell-armhf/libsaithrift-dev.dep
Normal file
11
platform/marvell-armhf/libsaithrift-dev.dep
Normal file
@ -0,0 +1,11 @@
|
||||
SPATH := $($(LIBSAITHRIFT_DEV)_SRC_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/marvell-armhf/libsaithrift-dev.mk platform/marvell-armhf/libsaithrift-dev.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
SMDEP_PATHS := $(SPATH) $(SPATH)/bm/behavioral-model $(SPATH)/test/ptf $(SPATH)/test/saithrift/ctypesgen
|
||||
$(foreach path, $(SMDEP_PATHS), $(eval $(path) :=$(filter-out $(SMDEP_PATHS),$(addprefix $(path)/, $(shell cd $(path) && git ls-files | grep -Ev " " )))))
|
||||
|
||||
$(LIBSAITHRIFT_DEV)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(LIBSAITHRIFT_DEV)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(LIBSAITHRIFT_DEV)_DEP_FILES := $(DEP_FILES)
|
||||
$(LIBSAITHRIFT_DEV)_SMDEP_FILES := $(foreach path, $(SMDEP_PATHS), $($(path)))
|
||||
$(LIBSAITHRIFT_DEV)_SMDEP_PATHS := $(SMDEP_PATHS)
|
1
platform/marvell-armhf/one-image.dep
Normal file
1
platform/marvell-armhf/one-image.dep
Normal file
@ -0,0 +1 @@
|
||||
$(SONIC_ONE_IMAGE)_CACHE_MODE := none
|
8
platform/marvell-armhf/platform-et6448m.dep
Normal file
8
platform/marvell-armhf/platform-et6448m.dep
Normal file
@ -0,0 +1,8 @@
|
||||
MPATH := $($(ET6448M_PLATFORM)_SRC_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/marvell-armhf/platform-et6448m.mk platform/marvell-armhf/platform-et6448m.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files $(MPATH))
|
||||
|
||||
$(ET6448M_PLATFORM)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(ET6448M_PLATFORM)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(ET6448M_PLATFORM)_DEP_FILES := $(DEP_FILES)
|
8
platform/marvell-armhf/platform-nokia.dep
Normal file
8
platform/marvell-armhf/platform-nokia.dep
Normal file
@ -0,0 +1,8 @@
|
||||
MPATH := $($(NOKIA_7215_PLATFORM)_SRC_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/marvell-armhf/platform-nokia.mk platform/marvell-armhf/platform-nokia.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files $(MPATH))
|
||||
|
||||
$(NOKIA_7215_PLATFORM)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(NOKIA_7215_PLATFORM)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(NOKIA_7215_PLATFORM)_DEP_FILES := $(DEP_FILES)
|
8
platform/marvell-armhf/prestera.dep
Normal file
8
platform/marvell-armhf/prestera.dep
Normal file
@ -0,0 +1,8 @@
|
||||
MPATH := $($(MRVL_PRESTERA_DEB)_SRC_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/marvell-armhf/prestera.mk platform/marvell-armhf/prestera.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files $(MPATH))
|
||||
|
||||
$(MRVL_PRESTERA_DEB)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(MRVL_PRESTERA_DEB)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(MRVL_PRESTERA_DEB)_DEP_FILES := $(DEP_FILES)
|
9
platform/marvell-armhf/rules.dep
Normal file
9
platform/marvell-armhf/rules.dep
Normal file
@ -0,0 +1,9 @@
|
||||
include $(PLATFORM_PATH)/sai.dep
|
||||
include $(PLATFORM_PATH)/prestera.dep
|
||||
include $(PLATFORM_PATH)/docker-syncd-mrvl.dep
|
||||
include $(PLATFORM_PATH)/docker-syncd-mrvl-rpc.dep
|
||||
include $(PLATFORM_PATH)/docker-saiserver-mrvl.dep
|
||||
include $(PLATFORM_PATH)/libsaithrift-dev.dep
|
||||
include $(PLATFORM_PATH)/platform-et6448m.dep
|
||||
include $(PLATFORM_PATH)/platform-nokia.dep
|
||||
include $(PLATFORM_PATH)/one-image.dep
|
9
platform/marvell-armhf/sai.dep
Normal file
9
platform/marvell-armhf/sai.dep
Normal file
@ -0,0 +1,9 @@
|
||||
SPATH := $($(MRVL_SAI)_SRC_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/marvell-armhf/sai.mk platform/marvell-armhf/sai.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files $(SPATH))
|
||||
SMDEP_PATHS := $(SPATH)
|
||||
|
||||
$(MRVL_SAI)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(MRVL_SAI)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(MRVL_SAI)_DEP_FILES := $(DEP_FILES)
|
Loading…
Reference in New Issue
Block a user