sonic-buildimage/platform/broadcom/sai-modules.dep
judyjoseph abc998a89e
[build]: Update the make cache mode for opennsl-module-dnx (#8391)
Fix warning shown during compilation

[ DPKG ] Cache is not enabled for opennsl-modules-dnx_5.0.0.4_amd64.deb package
2021-08-10 07:27:01 -07:00

22 lines
1.1 KiB
Plaintext

# Broadcom SAI modules
MPATH := $($(BRCM_OPENNSL_KERNEL)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/broadcom/sai-modules.mk platform/broadcom/sai-modules.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
DEP_FILES += $(shell git ls-files $(MPATH))
$(BRCM_OPENNSL_KERNEL)_CACHE_MODE := GIT_CONTENT_SHA
$(BRCM_OPENNSL_KERNEL)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
$(BRCM_OPENNSL_KERNEL)_DEP_FILES := $(DEP_FILES)
# SAI bcm modules for DNX family ASIC
MPATH_DNX := $($(BRCM_DNX_OPENNSL_KERNEL)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/broadcom/sai-modules.mk platform/broadcom/sai-modules.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
SMDEP_FILES := $(addprefix $(MPATH_DNX)/,$(shell cd $(MPATH_DNX) && git ls-files))
$(BRCM_DNX_OPENNSL_KERNEL)_CACHE_MODE := GIT_CONTENT_SHA
$(BRCM_DNX_OPENNSL_KERNEL)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
$(BRCM_DNX_OPENNSL_KERNEL)_DEP_FILES := $(DEP_FILES)
$(BRCM_DNX_OPENNSL_KERNEL)_SMDEP_FILES := $(SMDEP_FILES)
$(BRCM_DNX_OPENNSL_KERNEL)_SMDEP_PATHS := $(MPATH_DNX)