From 6246b161d558b103ecbb86ce435f4f515e03726a Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Sun, 12 Aug 2018 08:20:10 +0000 Subject: [PATCH] [doc]: update build instruction for debian stretch Signed-off-by: Guohan Lu --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 20c7b9a80b..e09c4e2c28 100644 --- a/README.md +++ b/README.md @@ -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**: @@ -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.