Skip to content

Commit

Permalink
Support cisco-8000 smartswitch image build. (sonic-net#20488)
Browse files Browse the repository at this point in the history
### Why I did it
Support Cisco smart switch build.
  • Loading branch information
liushilongbuaa authored Oct 15, 2024
1 parent 262b1d2 commit e55e05b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ endif
PLATFORM_PATH := platform/$(if $(PLATFORM),$(PLATFORM),$(CONFIGURED_PLATFORM))
PLATFORM_CHECKOUT := platform/checkout
PLATFORM_CHECKOUT_FILE := $(PLATFORM_CHECKOUT)/$(PLATFORM).ini
ifeq ($(SMARTSWITCH),1)
PLATFORM_CHECKOUT_FILE := $(PLATFORM_CHECKOUT)/$(PLATFORM)-smartswitch.ini
endif
PLATFORM_CHECKOUT_CMD := $(shell if [ -f $(PLATFORM_CHECKOUT_FILE) ]; then PLATFORM_PATH=$(PLATFORM_PATH) j2 $(PLATFORM_CHECKOUT)/template.j2 $(PLATFORM_CHECKOUT_FILE); fi)
MAKE_WITH_RETRY := ./scripts/run_with_retry $(MAKE)

Expand Down
4 changes: 4 additions & 0 deletions platform/checkout/cisco-8000-smartswitch.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[module]
repo[email protected]:Cisco-8000-sonic/platform-cisco-8000.git
ref=0.master.ss.0.3

0 comments on commit e55e05b

Please sign in to comment.