2016-12-05 13:12:19 -06:00
|
|
|
# lldpd package
|
|
|
|
|
2020-01-24 13:52:52 -06:00
|
|
|
LLDPD_VERSION = 1.0.4
|
2019-04-17 12:59:58 -05:00
|
|
|
LLDPD_VERSION_SUFFIX = 1
|
|
|
|
LLDPD_VERSION_FULL = $(LLDPD_VERSION)-$(LLDPD_VERSION_SUFFIX)
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LLDPD = lldpd_$(LLDPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LLDPD)_DEPENDS += $(LIBSNMP_DEV)
|
|
|
|
$(LLDPD)_RDEPENDS += $(LIBSNMP)
|
|
|
|
$(LLDPD)_SRC_PATH = $(SRC_PATH)/lldpd
|
2018-03-07 19:08:45 -06:00
|
|
|
SONIC_MAKE_DEBS += $(LLDPD)
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBLLDPCTL = liblldpctl-dev_$(LLDPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(LLDPD),$(LIBLLDPCTL)))
|
2018-03-07 19:08:45 -06:00
|
|
|
|
2019-08-01 18:25:09 -05:00
|
|
|
LLDPD_DBG = lldpd-dbgsym_$(LLDPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
2019-07-04 00:13:55 -05:00
|
|
|
$(eval $(call add_derived_package,$(LLDPD),$(LLDPD_DBG)))
|
|
|
|
|
2018-03-07 19:08:45 -06:00
|
|
|
# Export these variables so they can be used in a sub-make
|
|
|
|
export LLDPD_VERSION
|
2019-04-17 12:59:58 -05:00
|
|
|
export LLDPD_VERSION_FULL
|
2018-03-07 19:08:45 -06:00
|
|
|
export LLDPD
|
|
|
|
export LIBLLDPCTL
|
2019-07-04 00:13:55 -05:00
|
|
|
export LLDPD_DBG
|
|
|
|
|
|
|
|
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
|
|
|
|
# are archived into debug one image to facilitate debugging.
|
|
|
|
#
|
|
|
|
DBG_SRC_ARCHIVE += lldpd
|