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)
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBSWSSCOMMON)_DEPENDS += $(LIBHIREDIS_DEV) $(LIBNL3_DEV) $(LIBNL_GENL3_DEV) \
|
|
|
|
$(LIBNL_ROUTE3_DEV) $(LIBNL_NF3_DEV) \
|
2020-07-29 16:19:03 -05:00
|
|
|
$(LIBNL_CLI_DEV)
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBSWSSCOMMON)_RDEPENDS += $(LIBHIREDIS) $(LIBNL3) $(LIBNL_GENL3) \
|
|
|
|
$(LIBNL_ROUTE3) $(LIBNL_NF3) $(LIBNL_CLI)
|
|
|
|
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)))
|
|
|
|
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)))
|
|
|
|
|
2021-05-28 12:16:02 -05:00
|
|
|
LIBSWSSCOMMON_DBG = $(LIBSWSSCOMMON_NAME)-dbg_$(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
|
|
|
|
|
|
|
# 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
|
|
|
|
|