From 57d9afe037271a55fb97aae95d024da1bcbd196f Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Mon, 1 May 2017 17:13:13 +0000 Subject: [PATCH] [image]: build debug symbol packages for swss-common, libsairedis, libsaimetadata, syncd, syncd-rpc --- rules/sairedis.mk | 20 ++++++++++++++++++++ rules/swss-common.mk | 5 +++++ src/sonic-swss-common | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/rules/sairedis.mk b/rules/sairedis.mk index 87838a3aeebe..4a62954f4d1c 100644 --- a/rules/sairedis.mk +++ b/rules/sairedis.mk @@ -23,3 +23,23 @@ $(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA))) LIBSAIMETADATA_DEV = libsaimetadata-dev_1.0.0_amd64.deb $(LIBSAIMETADATA_DEV)_DEPENDS += $(LIBSAIMETADATA) $(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DEV))) + +LIBSAIREDIS_DBG = libsairedis-dbg_1.0.0_amd64.deb +$(LIBSAIREDIS_DBG)_DEPENDS += $(LIBSAIREDIS) +$(LIBSAIREDIS_DBG)_RDEPENDS += $(LIBSAIREDIS) +$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIREDIS_DBG))) + +SYNCD_DBG = syncd-dbg_1.0.0_amd64.deb +$(SYNCD_DBG)_DEPENDS += $(SYNCD) +$(SYNCD_DBG)_RDEPENDS += $(SYNCD) +$(eval $(call add_derived_package,$(LIBSAIREDIS),$(SYNCD_DBG))) + +SYNCD_RPC_DBG = syncd-rpc-dbg_1.0.0_amd64.deb +$(SYNCD_RPC_DBG)_DEPENDS += $(SYNCD_RPC) +$(SYNCD_RPC_DBG)_RDEPENDS += $(SYNCD_RPC) +$(eval $(call add_derived_package,$(LIBSAIREDIS),$(SYNCD_RPC_DBG))) + +LIBSAIMETADATA_DBG = libsaimetadata-dbg_1.0.0_amd64.deb +$(LIBSAIMETADATA_DBG)_DEPENDS += $(LIBSAIMETADATA) +$(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA) +$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG))) diff --git a/rules/swss-common.mk b/rules/swss-common.mk index d066714ae3a9..a4ccdafc2376 100644 --- a/rules/swss-common.mk +++ b/rules/swss-common.mk @@ -11,3 +11,8 @@ SONIC_DPKG_DEBS += $(LIBSWSSCOMMON) LIBSWSSCOMMON_DEV = libswsscommon-dev_1.0.0_amd64.deb $(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(LIBSWSSCOMMON_DEV))) + +LIBSWSSCOMMON_DBG = libswsscommon-dbg_1.0.0_amd64.deb +$(LIBSWSSCOMMON_DBG)_DEPENDS += $(LIBSWSSCOMMON) +$(LIBSWSSCOMMON_DBG)_RDEPENDS += $(LIBSWSSCOMMON) +$(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(LIBSWSSCOMMON_DBG))) diff --git a/src/sonic-swss-common b/src/sonic-swss-common index 7ae13ca7a973..b3e6f6095962 160000 --- a/src/sonic-swss-common +++ b/src/sonic-swss-common @@ -1 +1 @@ -Subproject commit 7ae13ca7a973db9e6caf0dbd9e2028f77dd95fd7 +Subproject commit b3e6f60959626a1f915435cd314cba57528d1204