Skip to content

Commit

Permalink
[sonic-buildimage] Threshold feature changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
shdasari committed Mar 27, 2020
1 parent 651458d commit 50d1d36
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rules/config
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ DEFAULT_VS_PREPARE_MEM = yes

# ENABLE_SYSTEM_SFLOW - build docker-sonic-sflow for sFlow support
ENABLE_SFLOW = y

# ENABLE_TAM - build docker-tam for TAM related feature support
ENABLE_TAM = n
4 changes: 4 additions & 0 deletions rules/docker-tam.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ $(DOCKER_TAM)_DBG_DEPENDS += $(SONIC_TAM) $(PROTOBUF)
$(DOCKER_TAM)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES)

SONIC_DOCKER_IMAGES += $(DOCKER_TAM)
ifeq ($(ENABLE_TAM), y)
SONIC_STRETCH_DOCKERS += $(DOCKER_TAM)
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_TAM)
endif

SONIC_DOCKER_DBG_IMAGES += $(DOCKER_TAM_DBG)
ifeq ($(ENABLE_TAM), y)
SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_TAM_DBG)
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_TAM_DBG)
endif

$(DOCKER_TAM)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_STRETCH)

Expand Down
6 changes: 6 additions & 0 deletions slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ ifeq ($(SONIC_ENABLE_SFLOW),y)
ENABLE_SFLOW = y
endif

ifeq ($(SONIC_ENABLE_TAM),y)
ENABLE_TAM = y
endif


include $(RULES_PATH)/functions
include $(RULES_PATH)/*.mk
ifneq ($(CONFIGURED_PLATFORM), undefined)
Expand Down Expand Up @@ -197,6 +202,7 @@ $(info "BUILD_TIMESTAMP" : "$(BUILD_TIMESTAMP)")
$(info "BLDENV" : "$(BLDENV)")
$(info "VS_PREPARE_MEM" : "$(VS_PREPARE_MEM)")
$(info "ENABLE_SFLOW" : "$(ENABLE_SFLOW)")
$(info "ENABLE_TAM" : "$(ENABLE_TAM)")
$(info )

ifeq ($(SONIC_USE_DOCKER_BUILDKIT),y)
Expand Down

0 comments on commit 50d1d36

Please sign in to comment.