[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
This commit is contained in:
parent
76d5223c9a
commit
abc998a89e
@ -1,4 +1,4 @@
|
|||||||
|
# Broadcom SAI modules
|
||||||
MPATH := $($(BRCM_OPENNSL_KERNEL)_SRC_PATH)
|
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_FILES_LIST) platform/broadcom/sai-modules.mk platform/broadcom/sai-modules.dep
|
||||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||||
@ -8,3 +8,14 @@ $(BRCM_OPENNSL_KERNEL)_CACHE_MODE := GIT_CONTENT_SHA
|
|||||||
$(BRCM_OPENNSL_KERNEL)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
$(BRCM_OPENNSL_KERNEL)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||||
$(BRCM_OPENNSL_KERNEL)_DEP_FILES := $(DEP_FILES)
|
$(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)
|
||||||
|
Loading…
Reference in New Issue
Block a user