[202205][sonic-sairedis] don't try to build python-pysairedis (python2) on bullseye (#11308)
This PR is a backport of #10950 and a fix for it #11227 - Why I did it To not build python2 pysairedis on bullseye - How I did it Cherry-picked above PRs from master - How to verify it Build Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
This commit is contained in:
parent
1d4cba69a4
commit
530a0ca908
@ -45,6 +45,10 @@ $(LIBSAIMETADATA_DBG)_DEPENDS += $(LIBSAIMETADATA)
|
|||||||
$(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA)
|
$(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA)
|
||||||
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG)))
|
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG)))
|
||||||
|
|
||||||
|
ifeq ($(ENABLE_PY2_MODULES), n)
|
||||||
|
$(LIBSAIREDIS)_BUILD_ENV += DEB_BUILD_PROFILES=nopython2
|
||||||
|
endif
|
||||||
|
|
||||||
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
|
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
|
||||||
# are archived into debug one image to facilitate debugging.
|
# are archived into debug one image to facilitate debugging.
|
||||||
#
|
#
|
||||||
|
@ -33,4 +33,8 @@ $(SYNCD_RPC_DBG)_RDEPENDS += $(SYNCD_RPC)
|
|||||||
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_RPC_DBG)))
|
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_RPC_DBG)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ENABLE_PY2_MODULES), n)
|
||||||
|
$(SYNCD)_BUILD_ENV += DEB_BUILD_PROFILES=nopython2
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user