Skip to content

Commit

Permalink
[doc]: update build instruction for debian stretch
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan committed Aug 12, 2018
1 parent 9e37d50 commit 6246b16
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To build SONiC installer image and docker images, run the following commands:
BLDENV=stretch make stretch

# build SONiC image
make
make all

**NOTE**:

Expand All @@ -83,6 +83,14 @@ The SONiC installer contains all docker images needed. SONiC uses one image for

For Broadcom ASIC, we build ONIE and EOS image. EOS image is used for Arista devices, ONIE image is used for all other Broadcom ASIC based devices.

make configure PLATFORM=broadcom
# build debian stretch required targets
BLDENV=stretch make stretch
# build ONIE image
make target/sonic-broadcom.bin
# build EOS image
make target/sonic-aboot-broadcom.swi

You may find the rules/config file useful. It contains configuration options for the build process, like adding more verbosity or showing dependencies, username and password for base image etc.

Every docker image is built and saved to target/ directory.
Expand Down

0 comments on commit 6246b16

Please sign in to comment.