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>
23 lines
748 B
Makefile
23 lines
748 B
Makefile
# swss package
|
|
|
|
SWSS = swss_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(SWSS)_SRC_PATH = $(SRC_PATH)/sonic-swss
|
|
$(SWSS)_DEPENDS += $(LIBSAIREDIS_DEV) $(LIBSAIMETADATA_DEV) $(LIBTEAM_DEV) \
|
|
$(LIBTEAMDCTL) $(LIBTEAM_UTILS) $(LIBSWSSCOMMON_DEV) \
|
|
$(LIBSAIVS) $(LIBSAIVS_DEV)
|
|
|
|
$(SWSS)_RDEPENDS += $(LIBSAIREDIS) $(LIBSAIMETADATA) $(LIBTEAM) \
|
|
$(LIBTEAMDCTL) $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON)
|
|
SONIC_DPKG_DEBS += $(SWSS)
|
|
|
|
SWSS_DBG = swss-dbg_1.0.0_$(CONFIGURED_ARCH).deb
|
|
$(SWSS_DBG)_DEPENDS += $(SWSS)
|
|
$(SWSS_DBG)_RDEPENDS += $(SWSS)
|
|
$(eval $(call add_derived_package,$(SWSS),$(SWSS_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-swss
|
|
|