53d8b1a382
* Fix debug package variables for syncd PR #16072 renamed the debug package variables from `*_DBG` to `*_DBGSYM`, since the package names had changed. However, the references weren't updated. Since all the other debug packages (including ones that are named `*-dbgsym`) use `*_DBG`, just use that here as well. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Update sairedis.mk as well Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> --------- Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# only used for non-vs platforms
|
|
|
|
ifneq ($(CONFIGURED_PLATFORM),vs)
|
|
|
|
SYNCD = syncd_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(SYNCD)_RDEPENDS += $(LIBSAIREDIS) $(LIBSAIMETADATA)
|
|
$(SYNCD)_DEB_BUILD_PROFILES += syncd
|
|
$(SYNCD)_SRC_PATH = $(SRC_PATH)/sonic-sairedis
|
|
$(SYNCD)_DEPENDS += $(LIBSWSSCOMMON_DEV) $(LIBSAIREDIS)
|
|
$(SYNCD)_RDEPENDS += $(LIBSWSSCOMMON)
|
|
$(SYNCD)_DEB_BUILD_OPTIONS = nocheck
|
|
SONIC_DPKG_DEBS += $(SYNCD)
|
|
|
|
ifeq ($(ENABLE_SYNCD_RPC),y)
|
|
SYNCD_RPC = syncd-rpc_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(SYNCD_RPC)_RDEPENDS += $(LIBSAIREDIS) $(LIBSAIMETADATA)
|
|
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_RPC)))
|
|
|
|
# Inject libthrift build dependency for RPC build
|
|
$(SYNCD)_DEPENDS += $(LIBSWSSCOMMON_DEV) $(LIBTHRIFT_DEV)
|
|
$(SYNCD)_DEB_BUILD_PROFILES += rpc
|
|
endif
|
|
|
|
SYNCD_DBG = syncd-dbgsym_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(SYNCD_DBG)_DEPENDS += $(SYNCD)
|
|
$(SYNCD_DBG)_RDEPENDS += $(SYNCD)
|
|
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_DBG)))
|
|
|
|
ifeq ($(ENABLE_SYNCD_RPC),y)
|
|
SYNCD_RPC_DBG = syncd-rpc-dbgsym_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(SYNCD_RPC_DBG)_DEPENDS += $(SYNCD_RPC)
|
|
$(SYNCD_RPC_DBG)_RDEPENDS += $(SYNCD_RPC)
|
|
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_RPC_DBG)))
|
|
endif
|
|
|
|
ifeq ($(ENABLE_PY2_MODULES), n)
|
|
$(SYNCD)_DEB_BUILD_PROFILES += nopython2
|
|
endif
|
|
|
|
endif
|