sonic-buildimage/platform
Renuka Manavalan c846fb9ead [build]: Updated Makefile infrastructure to build debug images. (#2753)
* Updated Makefile infrastructure to build debug images.
As a sample, platform/broadcom/docker-orchagent-brcm.mk is updated to add a docker-orchagent-brcm-dbg.gz target.

Now "BLDENV=stretch make target/docker-orchagent-brcm-dbg.gz" will build the debug image.

This debug image can be used in any linux box to inspect core file. If your module's external dependency can be suitably mocked, you my even manually run it inside.

"docker run -it --entrypoint=/bin/bash e47a8fb8ed38"

You may map the core file path to this docker run.

* Dropped the regular binary using DBG_PACKAGES and a small name change to help readability.

* Tweaked the changes to retain the existing behavior w.r.t INSTALL_DEBUG_TOOLS=y.

When this change ('building debug docker image transparently') is extended to all dockers, this flag would become redundant. Yet, there can be some test based use cases that rely on this flag.

Until after all the dockers gets their debug images by default and we switch all use cases of this flag to use the newly built debug images, we need to maintain the existing behavior.
2019-04-13 17:05:18 -07:00
..
barefoot [swss]: update swss docker to stretch (#2714) 2019-03-30 11:57:25 -07:00
broadcom [build]: Updated Makefile infrastructure to build debug images. (#2753) 2019-04-13 17:05:18 -07:00
cavium [swss]: update swss docker to stretch (#2714) 2019-03-30 11:57:25 -07:00
centec [swss]: update swss docker to stretch (#2714) 2019-03-30 11:57:25 -07:00
generic add INSTALLS, LAZY_INSTALLS, DEPENDS targets to image build (#1159) 2017-11-16 12:27:03 -08:00
marvell [swss]: update swss docker to stretch (#2714) 2019-03-30 11:57:25 -07:00
mellanox [Mellanox] build one image for Mellanox & Mellanox SimX (#2664) 2019-04-10 21:55:14 -07:00
nephos [saithrift]: remove dependency on python-saithrift (#2584) 2019-02-18 02:50:37 -08:00
p4 [swss]: remove intfsyncd service (#2499) 2019-01-29 10:36:04 -08:00
vs [vstest]: Test for quagga livelock fix (#2751) 2019-04-09 09:03:25 -07:00