2016-12-05 13:12:19 -06:00
|
|
|
# libswsscommon package
|
|
|
|
|
2021-05-28 12:16:02 -05:00
|
|
|
LIBSWSSCOMMON_VERSION = 1.0.0
|
|
|
|
LIBSWSSCOMMON_NAME = libswsscommon
|
|
|
|
|
|
|
|
LIBSWSSCOMMON = $(LIBSWSSCOMMON_NAME)_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBSWSSCOMMON)_SRC_PATH = $(SRC_PATH)/sonic-swss-common
|
2021-05-28 12:16:02 -05:00
|
|
|
$(LIBSWSSCOMMON)_VERSION = $(LIBSWSSCOMMON_VERSION)
|
|
|
|
$(LIBSWSSCOMMON)_NAME = $(LIBSWSSCOMMON_NAME)
|
2023-09-06 18:23:34 -05:00
|
|
|
$(LIBSWSSCOMMON)_DEPENDS += $(LIBNL3_DEV) $(LIBNL_GENL3_DEV) \
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL_ROUTE3_DEV) $(LIBNL_NF3_DEV) \
|
2022-09-24 14:37:35 -05:00
|
|
|
$(LIBNL_CLI_DEV) $(LIBYANG_DEV) $(LIBYANG)
|
2023-09-06 18:23:34 -05:00
|
|
|
$(LIBSWSSCOMMON)_RDEPENDS += $(LIBNL3) $(LIBNL_GENL3) \
|
2022-09-24 14:37:35 -05:00
|
|
|
$(LIBNL_ROUTE3) $(LIBNL_NF3) $(LIBNL_CLI) $(LIBYANG)
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_DPKG_DEBS += $(LIBSWSSCOMMON)
|
|
|
|
|
2021-05-28 12:16:02 -05:00
|
|
|
LIBSWSSCOMMON_DEV = $(LIBSWSSCOMMON_NAME)-dev_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(LIBSWSSCOMMON_DEV)))
|
2017-05-03 19:01:27 -05:00
|
|
|
|
2021-07-23 11:21:15 -05:00
|
|
|
ifeq ($(ENABLE_PY2_MODULES), y)
|
|
|
|
PYTHON_SWSSCOMMON = python-swsscommon_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
|
|
|
$(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(PYTHON_SWSSCOMMON)))
|
2021-12-01 12:14:13 -06:00
|
|
|
else
|
2023-07-20 11:14:23 -05:00
|
|
|
$(LIBSWSSCOMMON)_DEB_BUILD_PROFILES += nopython2
|
2021-07-23 11:21:15 -05:00
|
|
|
endif
|
2017-11-03 19:13:39 -05:00
|
|
|
|
2021-05-28 12:16:02 -05:00
|
|
|
PYTHON3_SWSSCOMMON = python3-swsscommon_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
2020-08-11 18:11:19 -05:00
|
|
|
$(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(PYTHON3_SWSSCOMMON)))
|
|
|
|
|
2023-03-12 07:12:02 -05:00
|
|
|
LIBSWSSCOMMON_DBG = $(LIBSWSSCOMMON_NAME)-dbgsym_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
2017-05-03 19:01:27 -05:00
|
|
|
$(LIBSWSSCOMMON_DBG)_DEPENDS += $(LIBSWSSCOMMON)
|
|
|
|
$(LIBSWSSCOMMON_DBG)_RDEPENDS += $(LIBSWSSCOMMON)
|
|
|
|
$(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(LIBSWSSCOMMON_DBG)))
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2022-05-31 19:05:53 -05:00
|
|
|
SONIC_DB_CLI = sonic-db-cli_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
|
|
|
$(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(SONIC_DB_CLI)))
|
|
|
|
|
2019-07-04 00:13:55 -05:00
|
|
|
# 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-common
|
|
|
|
|