2016-12-05 13:12:19 -06:00
|
|
|
# redis package
|
|
|
|
|
2019-07-04 00:16:10 -05:00
|
|
|
REDIS_VERSION = 5.0.3-3~bpo9+2
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
REDIS_TOOLS = redis-tools_$(REDIS_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(REDIS_TOOLS)_SRC_PATH = $(SRC_PATH)/redis
|
2019-07-04 00:16:10 -05:00
|
|
|
$(REDIS_TOOLS)_DEPENDS += $(LIBHIREDIS_DEV)
|
|
|
|
$(REDIS_TOOLS)_RDEPENDS += $(LIBHIREDIS)
|
2020-06-27 03:17:20 -05:00
|
|
|
# TODO: docker-sonic-p4 depends on redis-tools in Jessie.
|
|
|
|
# Remove this file and src/redis after that resolved.
|
|
|
|
ifneq ($(BLDENV),buster)
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_MAKE_DEBS += $(REDIS_TOOLS)
|
2020-06-27 03:17:20 -05:00
|
|
|
endif
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
REDIS_TOOLS_DBG = redis-tools-dbgsym_$(REDIS_VERSION)_$(CONFIGURED_ARCH).deb
|
2019-07-05 13:00:01 -05:00
|
|
|
$(eval $(call add_derived_package,$(REDIS_TOOLS),$(REDIS_TOOLS_DBG)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
REDIS_SERVER = redis-server_$(REDIS_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(REDIS_TOOLS),$(REDIS_SERVER)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
REDIS_SENTINEL = redis-sentinel_$(REDIS_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(REDIS_SENTINEL)_DEPENDS += $(REDIS_SERVER)
|
|
|
|
$(REDIS_SENTINEL)_RDEPENDS += $(REDIS_SERVER)
|
|
|
|
$(eval $(call add_derived_package,$(REDIS_TOOLS),$(REDIS_SENTINEL)))
|
2019-02-09 00:05:38 -06:00
|
|
|
|
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 += redis
|
|
|
|
|