Skip to content

Commit

Permalink
[build]: Fix dependency: asyncsnmp should not depend on PYTHON_SWSSCO…
Browse files Browse the repository at this point in the history
…MMON (#6672)

Add dependency: dbsyncd will depend on PYTHON3_SWSSCOMMON
  • Loading branch information
qiluo-msft authored and daall committed Feb 5, 2021
1 parent ceb7b2c commit a9d3281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rules/asyncsnmp-py3.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ $(ASYNCSNMP_PY3)_SRC_PATH = $(SRC_PATH)/sonic-snmpagent
$(ASYNCSNMP_PY3)_PYTHON_VERSION = 3
# Depends on sonic-platform-common so it is possible to import sonic_psu
$(ASYNCSNMP_PY3)_DEPENDS += $(SWSSSDK_PY3) $(SONIC_PLATFORM_COMMON_PY3)
$(ASYNCSNMP_PY3)_DEBS_DEPENDS += $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON) $(PYTHON3_SWSSCOMMON)
$(ASYNCSNMP_PY3)_DEBS_DEPENDS += $(LIBSWSSCOMMON) $(PYTHON3_SWSSCOMMON)
SONIC_PYTHON_WHEELS += $(ASYNCSNMP_PY3)
1 change: 1 addition & 0 deletions rules/dbsyncd-py3.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ DBSYNCD_PY3 = sonic_d-2.0.0-py3-none-any.whl
$(DBSYNCD_PY3)_SRC_PATH = $(SRC_PATH)/sonic-dbsyncd
$(DBSYNCD_PY3)_PYTHON_VERSION = 3
$(DBSYNCD_PY3)_DEPENDS += $(SWSSSDK_PY3)
$(DBSYNCD_PY3)_DEBS_DEPENDS += $(LIBSWSSCOMMON) $(PYTHON3_SWSSCOMMON)
SONIC_PYTHON_WHEELS += $(DBSYNCD_PY3)

0 comments on commit a9d3281

Please sign in to comment.