2016-12-05 13:12:19 -06:00
|
|
|
###############################################################################
|
|
|
|
## Configuration parameters for SONiC build system
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
# SONIC_CONFIG_PRINT_DEPENDENCIES - show dependencies for each invoked target.
|
|
|
|
# Before executing rule for each target its dependencies are printed to console.
|
|
|
|
# Uncomment next line to enable:
|
|
|
|
# SONIC_CONFIG_PRINT_DEPENDENCIES = y
|
|
|
|
|
|
|
|
# SONIC_CONFIG_BUILD_JOBS - set number of jobs for parallel build.
|
|
|
|
# Corresponding -j argument will be passed to make command inside docker
|
|
|
|
# container.
|
2017-03-07 14:32:39 -06:00
|
|
|
SONIC_CONFIG_BUILD_JOBS = 1
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2017-09-01 17:28:33 -05:00
|
|
|
# SONIC_CONFIG_MAKE_JOBS - set number of parallel make jobs per package.
|
2017-07-07 07:32:50 -05:00
|
|
|
# Corresponding -j argument will be passed to make/dpkg commands that build separate packages
|
|
|
|
SONIC_CONFIG_MAKE_JOBS = $(shell nproc)
|
|
|
|
|
2019-06-20 11:19:33 -05:00
|
|
|
# SONIC_USE_DOCKER_BUILDKIT - use docker buildkit for build.
|
|
|
|
# If set to y SONiC build system will set environment variable DOCKER_BUILDKIT=1
|
|
|
|
# to enable docker buildkit.
|
|
|
|
# This options will speed up docker image build time.
|
|
|
|
# NOTE: SONIC_USE_DOCKER_BUILDKIT will produce larger installable SONiC image
|
|
|
|
# because of a docker bug (more details: https://github.com/moby/moby/issues/38903)
|
|
|
|
# SONIC_USE_DOCKER_BUILDKIT = y
|
|
|
|
|
2018-11-01 20:00:00 -05:00
|
|
|
# SONIC_CONFIG_USE_NATIVE_DOCKERD_FOR_BUILD - use native dockerd for build.
|
|
|
|
# If set to y SONiC build container will use native dockerd instead of dind for faster build
|
|
|
|
# SONIC_CONFIG_USE_NATIVE_DOCKERD_FOR_BUILD = y
|
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
# SONIC_CONFIG_ENABLE_COLORS - enable colored output in build system.
|
|
|
|
# Comment next line to disable:
|
|
|
|
# SONIC_CONFIG_ENABLE_COLORS = y
|
|
|
|
|
2017-04-12 13:23:48 -05:00
|
|
|
# DEFAULT_USERNAME - default username for installer build
|
|
|
|
DEFAULT_USERNAME = admin
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2017-04-12 13:23:48 -05:00
|
|
|
# DEFAULT_PASSWORD - default password for installer build
|
|
|
|
DEFAULT_PASSWORD = YourPaSsWoRd
|
2017-02-17 15:47:01 -06:00
|
|
|
|
|
|
|
# ENABLE_DHCP_GRAPH_SERVICE - specify the source of minigraph to generate configuration file.
|
2018-03-27 15:39:04 -05:00
|
|
|
# If set to y SONiC will get the minigraph from graph service. Graph service URL need to be
|
2017-02-17 15:47:01 -06:00
|
|
|
# passed through DHCP option 225.
|
|
|
|
# If not set (default behavior) the default minigraph built into the image will be used.
|
|
|
|
# ENABLE_DHCP_GRAPH_SERVICE = y
|
|
|
|
|
2018-03-27 15:39:04 -05:00
|
|
|
# SHUTDOWN_BGP_ON_START - if set to y all bgp sessions will be in admin down state when
|
2017-06-12 13:05:22 -05:00
|
|
|
# bgp service starts.
|
|
|
|
# SHUTDOWN_BGP_ON_START = y
|
|
|
|
|
2018-03-06 01:55:37 -06:00
|
|
|
# ENABLE_PFCWD_ON_START - if set to y PFC Watchdog (PFCWD) will be enabled all server-facing ports
|
|
|
|
# by default for TOR switch
|
|
|
|
# ENABLE_PFCWD_ON_START = y
|
|
|
|
|
2018-06-19 17:59:12 -05:00
|
|
|
# SONIC_INSTALL_DEBUG_TOOLS - installs debugging tools in baseline docker
|
2017-02-21 21:04:43 -06:00
|
|
|
# Uncomment next line to enable:
|
2018-06-19 17:59:12 -05:00
|
|
|
# SONIC_INSTALL_DEBUG_TOOLS = y
|
2017-04-20 11:12:27 -05:00
|
|
|
|
|
|
|
# SONIC_ROUTING_STACK - specify the routing-stack being elected to drive SONiC's control-plane.
|
2018-10-02 12:24:59 -05:00
|
|
|
# Supported routing stacks on SONiC are:
|
|
|
|
# routing-stacks: quagga, frr.
|
2019-05-08 01:40:40 -05:00
|
|
|
SONIC_ROUTING_STACK = frr
|
2017-05-30 18:17:03 -05:00
|
|
|
|
|
|
|
# ENABLE_SYNCD_RPC - build docker-syncd with rpc packages for testing purposes.
|
|
|
|
# Uncomment to enable:
|
|
|
|
# ENABLE_SYNCD_RPC = y
|
2018-03-27 15:39:04 -05:00
|
|
|
|
2017-09-19 18:23:31 -05:00
|
|
|
# Enable Origanization Extensions - Specific to the deployment scenarios of the Organization
|
|
|
|
ENABLE_ORGANIZATION_EXTENSIONS = y
|
2018-03-27 15:39:04 -05:00
|
|
|
|
2018-06-19 17:59:12 -05:00
|
|
|
# Debugging option allows sonic debian packages to get built including symbols
|
|
|
|
# information. Profiling option, disables compiler optimizations (-O0) as well
|
|
|
|
# as includes symbols information. Given that 'profiling' option is a superset
|
|
|
|
# of 'debugging' one, user should only enable either one option or the other --
|
|
|
|
# if both options are enabled, the 'profiling' one will prevail.
|
|
|
|
#SONIC_DEBUGGING_ON = y
|
|
|
|
#SONIC_PROFILING_ON = y
|
|
|
|
|
2018-03-27 15:39:04 -05:00
|
|
|
# ENABLE_SYSTEM_TELEMETRY - build docker-sonic-telemetry for system telemetry support
|
2019-02-28 18:27:29 -06:00
|
|
|
ENABLE_SYSTEM_TELEMETRY = y
|
2018-07-25 10:14:18 -05:00
|
|
|
|
|
|
|
# DEFAULT_KERNEL_PROCURE_METHOD - default method for obtaining kernel
|
|
|
|
# build: build kernel from source
|
|
|
|
# download: download pre-built kernel from Azure storage.
|
|
|
|
DEFAULT_KERNEL_PROCURE_METHOD = build
|
2018-11-26 20:19:12 -06:00
|
|
|
|
|
|
|
# FRR user and group id values. These only take effect when SONIC_ROUTING_STACK is frr.
|
|
|
|
# Note: these values match the admin uid/gid of the host's admin account. If these values
|
|
|
|
# change and user doesn't want the frr uid/gid to potentially match a random user on the
|
|
|
|
# host, then either the appropriate account and group will need to be created on the host
|
|
|
|
# manually or changes need to be made when the image is built to create the account and
|
|
|
|
# group during installation.
|
2019-01-16 20:34:41 -06:00
|
|
|
FRR_USER_UID = 300
|
|
|
|
FRR_USER_GID = 300
|
2019-03-29 17:25:17 -05:00
|
|
|
|
|
|
|
# Default VS build memory preparation
|
|
|
|
DEFAULT_VS_PREPARE_MEM = yes
|