sonic-buildimage/platform/cavium
Renuka Manavalan ba0ca01ee0 [build]: Makefile: Extend to build debug docker images for all stretch dockers (#2789)
Overall goal: Build debug images for every stretch docker.

An earlier PR (#2789) made the first cut, by transforming broadcom/orchagent to build target/docker-orhagent-dbg.gz.

Changes in this PR:

Made docker-orchagent build to be platform independent.
1.1) Created rules/docker_orchagent.mk
1.2) Removed platform//docker-orchagent-*.mk
1.3) Removed the corresponding entry from platform//rules.mk

Extended the debug docker image build to stretch based syncd dockers.
2.1) For now, only mellanox & barefoot are stretch based.
2.2) All the common variable definitions are put in one place platform/template/docker-syncd-base.mk
2.3) platform/[mellanox, bfn]/docker-syncd-[mlnx, bfn].mk are updated as detailed below.
2.3.1) Set platform code and include template base file
2.3.2) Add the dependencies & debug dependencies and any update over what base template offers.

Extended all stretch based non-platform dockers to build debug dockers too.
3.1) Affected are:
docker-database.mk,
docker-platform-monitor.mk,
docker-router-advertiser.mk,
docker-teamd.mk,
docker-telemetry.mk

Next: Build debug flavor of final images with regular dockers replaced with debug dockers where available.
2019-04-19 18:49:21 -07:00
..
cavm_platform_modules Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
cavm_sdk Added rules to build syncd and orchagent containers for Cavium target (#152) 2016-12-23 15:26:51 -08:00
docker-saiserver-cavm [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-syncd-cavm [rsyslog]: use # to separate container name and program name in syslog message for syncd containers (#2031) 2018-09-11 14:57:29 -07:00
docker-syncd-cavm-rpc [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702) 2019-04-18 02:25:51 -07:00
cavm-platform-modules.mk [build]: put stretch debian packages under target/debs/stretch/ (#2519) 2019-02-04 22:06:37 -08:00
cavm-sai.mk [cavm]Update sai revision and packet driver (#914) 2017-08-24 23:46:14 -07:00
cavm-xpnet.mk [build]: put stretch debian packages under target/debs/stretch/ (#2519) 2019-02-04 22:06:37 -08:00
docker-ptf-cavm.mk [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638) 2017-05-26 17:18:11 -07:00
docker-syncd-cavm-rpc.mk [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702) 2019-04-18 02:25:51 -07:00
docker-syncd-cavm.mk [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702) 2019-04-18 02:25:51 -07:00
libsaithrift-dev.mk [saithrift]: remove dependency on python-saithrift (#2584) 2019-02-18 02:50:37 -08:00
one-image.mk add INSTALLS, LAZY_INSTALLS, DEPENDS targets to image build (#1159) 2017-11-16 12:27:03 -08:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
rules.mk [build]: Makefile: Extend to build debug docker images for all stretch dockers (#2789) 2019-04-19 18:49:21 -07:00