58632e6e83
make swss build depends only on libsairedis instead of syncd. This allows to build swss without depending on vendor sai library. Currently, libsairedis build also buils syncd which requires vendor SAI lib. This makes difficult to build swss docker in buster while still keeping syncd docker in stretch, as swss requires libsairedis which also build syncd and requires vendor to provide SAI for buster. As swss docker does not really contain syncd binary, so it is not necessary to build syncd for swss docker. * [submodule]: update sonic-sairedis * ccbb3bc 2020-06-28 | add option to build without syncd (HEAD, origin/master, origin/HEAD) [Guohan Lu] * 4247481 2020-06-28 | install saidiscovery into syncd package [Guohan Lu] * 61b8e8e 2020-06-26 | Revert "sonic-sairedis: Add support to sonic-sairedis for gearbox phys (#624)" (#630) [Danny Allen] * 85e543c 2020-06-26 | add a README to tests directory to describe how to run 'make check' (#629) [Syd Logan] * 2772f15 2020-06-26 | sonic-sairedis: Add support to sonic-sairedis for gearbox phys (#624) [Syd Logan] Signed-off-by: Guohan Lu <lguohan@gmail.com>
46 lines
1.8 KiB
Makefile
46 lines
1.8 KiB
Makefile
# sairedis package
|
|
|
|
LIBSAIREDIS = libsairedis_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(LIBSAIREDIS)_DPKG_TARGET = binary-sairedis
|
|
$(LIBSAIREDIS)_SRC_PATH = $(SRC_PATH)/sonic-sairedis
|
|
$(LIBSAIREDIS)_DEPENDS += $(LIBSWSSCOMMON_DEV)
|
|
$(LIBSAIREDIS)_RDEPENDS += $(LIBSWSSCOMMON)
|
|
$(LIBSAIREDIS)_DEB_BUILD_OPTIONS = nocheck
|
|
SONIC_DPKG_DEBS += $(LIBSAIREDIS)
|
|
|
|
LIBSAIREDIS_DEV = libsairedis-dev_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIREDIS_DEV)))
|
|
|
|
LIBSAIVS = libsaivs_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIVS)))
|
|
|
|
LIBSAIVS_DEV = libsaivs-dev_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIVS_DEV)))
|
|
|
|
LIBSAIMETADATA = libsaimetadata_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA)))
|
|
|
|
LIBSAIMETADATA_DEV = libsaimetadata-dev_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(LIBSAIMETADATA_DEV)_DEPENDS += $(LIBSAIMETADATA)
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DEV)))
|
|
|
|
LIBSAIREDIS_DBG = libsairedis-dbg_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(LIBSAIREDIS_DBG)_DEPENDS += $(LIBSAIREDIS)
|
|
$(LIBSAIREDIS_DBG)_RDEPENDS += $(LIBSAIREDIS)
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIREDIS_DBG)))
|
|
|
|
LIBSAIVS_DBG = libsaivs-dbg_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(LIBSAIVS_DBG)_DEPENDS += $(LIBSAIVS)
|
|
$(LIBSAIVS_DBG)_RDEPENDS += $(LIBSAIVS)
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIVS_DBG)))
|
|
|
|
LIBSAIMETADATA_DBG = libsaimetadata-dbg_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(LIBSAIMETADATA_DBG)_DEPENDS += $(LIBSAIMETADATA)
|
|
$(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA)
|
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG)))
|
|
|
|
# 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
|