2020-07-03 00:03:50 -05:00
|
|
|
# only used for non-vs platforms
|
|
|
|
|
|
|
|
ifneq ($(CONFIGURED_PLATFORM),vs)
|
|
|
|
|
|
|
|
SYNCD = syncd_1.0.0_$(CONFIGURED_ARCH).deb
|
|
|
|
$(SYNCD)_RDEPENDS += $(LIBSAIREDIS) $(LIBSAIMETADATA)
|
2023-07-24 19:05:03 -05:00
|
|
|
$(SYNCD)_DEB_BUILD_PROFILES += syncd
|
2020-07-03 00:03:50 -05:00
|
|
|
$(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
|
2022-11-21 01:22:26 -06:00
|
|
|
$(SYNCD)_DEPENDS += $(LIBSWSSCOMMON_DEV) $(LIBTHRIFT_DEV)
|
2023-07-24 19:05:03 -05:00
|
|
|
$(SYNCD)_DEB_BUILD_PROFILES += rpc
|
2020-07-03 00:03:50 -05:00
|
|
|
endif
|
|
|
|
|
2023-07-24 19:05:03 -05:00
|
|
|
SYNCD_DBGSYM = syncd-dbgsym_1.0.0_$(CONFIGURED_ARCH).deb
|
|
|
|
$(SYNCD_DBGSYM)_DEPENDS += $(SYNCD)
|
|
|
|
$(SYNCD_DBGSYM)_RDEPENDS += $(SYNCD)
|
|
|
|
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_DBGSYM)))
|
2020-07-03 00:03:50 -05:00
|
|
|
|
|
|
|
ifeq ($(ENABLE_SYNCD_RPC),y)
|
2023-07-24 19:05:03 -05:00
|
|
|
SYNCD_RPC_DBGSYM = syncd-rpc-dbgsym_1.0.0_$(CONFIGURED_ARCH).deb
|
|
|
|
$(SYNCD_RPC_DBGSYM)_DEPENDS += $(SYNCD_RPC)
|
|
|
|
$(SYNCD_RPC_DBGSYM)_RDEPENDS += $(SYNCD_RPC)
|
|
|
|
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_RPC_DBGSYM)))
|
2020-07-03 00:03:50 -05:00
|
|
|
endif
|
|
|
|
|
2022-06-25 12:24:31 -05:00
|
|
|
ifeq ($(ENABLE_PY2_MODULES), n)
|
2023-07-20 11:14:23 -05:00
|
|
|
$(SYNCD)_DEB_BUILD_PROFILES += nopython2
|
2022-06-25 12:24:31 -05:00
|
|
|
endif
|
|
|
|
|
2020-07-03 00:03:50 -05:00
|
|
|
endif
|