[sairedis] fix incorrect package specified in sairedis rules (#11227)

#### Why I did it

Fix the build with updated sairedis

#### How I did it
Specify nopython2 for syncd and fixed a copy paste mistake for libsairedis

#### How to verify it

Run build with updated sairedis
This commit is contained in:
Stepan Blyshchak 2022-06-25 20:24:31 +03:00 committed by GitHub
parent c9f36957db
commit 9d5ca72b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -46,7 +46,7 @@ $(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA)
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG)))
ifeq ($(ENABLE_PY2_MODULES), n)
$(LIBSWSSCOMMON)_BUILD_ENV += DEB_BUILD_PROFILES=nopython2
$(LIBSAIREDIS)_BUILD_ENV += DEB_BUILD_PROFILES=nopython2
endif
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}

View File

@ -33,4 +33,8 @@ $(SYNCD_RPC_DBG)_RDEPENDS += $(SYNCD_RPC)
$(eval $(call add_derived_package,$(SYNCD),$(SYNCD_RPC_DBG)))
endif
ifeq ($(ENABLE_PY2_MODULES), n)
$(SYNCD)_BUILD_ENV += DEB_BUILD_PROFILES=nopython2
endif
endif