2016-12-05 13:12:19 -06:00
|
|
|
# sairedis package
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIREDIS = libsairedis_1.0.0_$(CONFIGURED_ARCH).deb
|
2020-07-03 00:03:50 -05:00
|
|
|
$(LIBSAIREDIS)_DPKG_TARGET = binary-sairedis
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBSAIREDIS)_SRC_PATH = $(SRC_PATH)/sonic-sairedis
|
2019-07-06 16:55:31 -05:00
|
|
|
$(LIBSAIREDIS)_DEPENDS += $(LIBSWSSCOMMON_DEV)
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBSAIREDIS)_RDEPENDS += $(LIBSWSSCOMMON)
|
2018-01-11 22:32:14 -06:00
|
|
|
$(LIBSAIREDIS)_DEB_BUILD_OPTIONS = nocheck
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_DPKG_DEBS += $(LIBSAIREDIS)
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIREDIS_DEV = libsairedis-dev_1.0.0_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIREDIS_DEV)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIVS = libsaivs_1.0.0_$(CONFIGURED_ARCH).deb
|
2017-10-24 00:01:42 -05:00
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIVS)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIVS_DEV = libsaivs-dev_1.0.0_$(CONFIGURED_ARCH).deb
|
2017-10-24 00:01:42 -05:00
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIVS_DEV)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIMETADATA = libsaimetadata_1.0.0_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIMETADATA_DEV = libsaimetadata-dev_1.0.0_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBSAIMETADATA_DEV)_DEPENDS += $(LIBSAIMETADATA)
|
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DEV)))
|
2017-05-03 19:01:27 -05:00
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIREDIS_DBG = libsairedis-dbg_1.0.0_$(CONFIGURED_ARCH).deb
|
2017-05-03 19:01:27 -05:00
|
|
|
$(LIBSAIREDIS_DBG)_DEPENDS += $(LIBSAIREDIS)
|
|
|
|
$(LIBSAIREDIS_DBG)_RDEPENDS += $(LIBSAIREDIS)
|
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIREDIS_DBG)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIVS_DBG = libsaivs-dbg_1.0.0_$(CONFIGURED_ARCH).deb
|
2017-10-24 00:01:42 -05:00
|
|
|
$(LIBSAIVS_DBG)_DEPENDS += $(LIBSAIVS)
|
|
|
|
$(LIBSAIVS_DBG)_RDEPENDS += $(LIBSAIVS)
|
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIVS_DBG)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBSAIMETADATA_DBG = libsaimetadata-dbg_1.0.0_$(CONFIGURED_ARCH).deb
|
2017-05-03 19:01:27 -05:00
|
|
|
$(LIBSAIMETADATA_DBG)_DEPENDS += $(LIBSAIMETADATA)
|
|
|
|
$(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA)
|
|
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG)))
|
2019-07-04 00:13:55 -05:00
|
|
|
|
|
|
|
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
|
|
|
|
# are archived into debug one image to facilitate debugging.
|
|
|
|
#
|
|
|
|
DBG_SRC_ARCHIVE += sonic-sairedis
|