2016-12-05 13:12:19 -06:00
|
|
|
# libnl3
|
|
|
|
|
2020-01-06 19:01:28 -06:00
|
|
|
LIBNL3_VERSION_BASE = 3.5.0
|
|
|
|
LIBNL3_VERSION = $(LIBNL3_VERSION_BASE)-1
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2018-06-19 15:12:28 -05:00
|
|
|
export LIBNL3_VERSION_BASE
|
2016-12-05 13:12:19 -06:00
|
|
|
export LIBNL3_VERSION
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL3 = libnl-3-200_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL3)_SRC_PATH = $(SRC_PATH)/libnl3
|
|
|
|
SONIC_MAKE_DEBS += $(LIBNL3)
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL3_DEV = libnl-3-dev_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL3_DEV)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_GENL3 = libnl-genl-3-200_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2018-03-02 13:05:27 -06:00
|
|
|
$(LIBNL_GENL3)_RDEPENDS += $(LIBNL3)
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_GENL3)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_GENL3_DEV = libnl-genl-3-dev_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL_GENL3_DEV)_DEPENDS += $(LIBNL_GENL3) $(LIBNL3_DEV)
|
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_GENL3_DEV)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_ROUTE3 = libnl-route-3-200_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2018-03-02 13:05:27 -06:00
|
|
|
$(LIBNL_ROUTE3)_RDEPENDS += $(LIBNL3)
|
2016-12-05 13:12:19 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_ROUTE3)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_ROUTE3_DEV = libnl-route-3-dev_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL_ROUTE3_DEV)_DEPENDS += $(LIBNL_ROUTE3) $(LIBNL3_DEV)
|
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_ROUTE3_DEV)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_NF3 = libnl-nf-3-200_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL_NF3)_DEPENDS += $(LIBNL_ROUTE3_DEV)
|
|
|
|
$(LIBNL_NF3)_RDEPENDS += $(LIBNL_ROUTE3)
|
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_NF3)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_NF3_DEV = libnl-nf-3-dev_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL_NF3_DEV)_DEPENDS += $(LIBNL_NF3)
|
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_NF3_DEV)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_CLI = libnl-cli-3-200_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL_CLI)_DEPENDS += $(LIBNL_GENL3_DEV) $(LIBNL_NF3_DEV) $(LIBNL_ROUTE3_DEV)
|
|
|
|
$(LIBNL_CLI)_RDEPENDS += $(LIBNL_GENL3) $(LIBNL_NF3) $(LIBNL_ROUTE3)
|
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_CLI)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LIBNL_CLI_DEV = libnl-cli-3-dev_$(LIBNL3_VERSION)_$(CONFIGURED_ARCH).deb
|
2016-12-05 13:12:19 -06:00
|
|
|
$(LIBNL_CLI_DEV)_DEPENDS += $(LIBNL_CLI) $(LIBNL_GENL3_DEV) $(LIBNL_NF3_DEV) $(LIBNL_ROUTE3_DEV)
|
|
|
|
$(eval $(call add_derived_package,$(LIBNL3),$(LIBNL_CLI_DEV)))
|
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 += libnl3
|