Skip to content

Commit cc0781b

Browse files
authored
Build swss-common with libyang (sonic-net#12087)
Build swss-common with libyang #### Why I did it sonic-swss-common lib add dependency to libyang recently, so need update make file before update sonic-swss-common submodule. #### How I did it Add dependency to libyang in rules/swss-common.mk #### How to verify it Pass all E2E test case. #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 #### Description for the changelog Add new Redis database PROFILE_DB #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md --> #### A picture of a cute animal (not mandatory but encouraged)
1 parent c968114 commit cc0781b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/swss-common.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ $(LIBSWSSCOMMON)_VERSION = $(LIBSWSSCOMMON_VERSION)
99
$(LIBSWSSCOMMON)_NAME = $(LIBSWSSCOMMON_NAME)
1010
$(LIBSWSSCOMMON)_DEPENDS += $(LIBHIREDIS_DEV) $(LIBNL3_DEV) $(LIBNL_GENL3_DEV) \
1111
$(LIBNL_ROUTE3_DEV) $(LIBNL_NF3_DEV) \
12-
$(LIBNL_CLI_DEV)
12+
$(LIBNL_CLI_DEV) $(LIBYANG_DEV) $(LIBYANG)
1313
$(LIBSWSSCOMMON)_RDEPENDS += $(LIBHIREDIS) $(LIBNL3) $(LIBNL_GENL3) \
14-
$(LIBNL_ROUTE3) $(LIBNL_NF3) $(LIBNL_CLI)
14+
$(LIBNL_ROUTE3) $(LIBNL_NF3) $(LIBNL_CLI) $(LIBYANG)
1515
SONIC_DPKG_DEBS += $(LIBSWSSCOMMON)
1616

1717
LIBSWSSCOMMON_DEV = $(LIBSWSSCOMMON_NAME)-dev_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb

0 commit comments

Comments
 (0)