2019-05-16 12:59:12 -05:00
|
|
|
# libyang
|
|
|
|
|
2019-11-07 15:45:39 -06:00
|
|
|
LIBYANG_VERSION_BASE = 1.0
|
|
|
|
LIBYANG_VERSION = $(LIBYANG_VERSION_BASE).73
|
2019-05-16 12:59:12 -05:00
|
|
|
LIBYANG_SUBVERSION = 1
|
|
|
|
|
|
|
|
export LIBYANG_VERSION_BASE
|
|
|
|
export LIBYANG_VERSION
|
|
|
|
export LIBYANG_SUBVERSION
|
|
|
|
|
2019-11-07 15:45:39 -06:00
|
|
|
LIBYANG = libyang_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
2019-05-16 12:59:12 -05:00
|
|
|
$(LIBYANG)_SRC_PATH = $(SRC_PATH)/libyang
|
2020-12-30 17:08:12 -06:00
|
|
|
# introduce artifical dependency between LIBYANG and FRR
|
|
|
|
# make sure LIBYANG is compile after FRR
|
|
|
|
$(LIBYANG)_AFTER = $(FRR)
|
2019-05-16 12:59:12 -05:00
|
|
|
SONIC_MAKE_DEBS += $(LIBYANG)
|
|
|
|
|
2019-11-07 15:45:39 -06:00
|
|
|
LIBYANG_DEV = libyang-dev_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
2019-05-16 12:59:12 -05:00
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_DEV)))
|
|
|
|
|
2022-07-21 16:15:16 -05:00
|
|
|
LIBYANG_DBGSYM = libyang-dbgsym_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_DBGSYM)))
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2019-11-07 15:45:39 -06:00
|
|
|
LIBYANG_CPP = libyang-cpp_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
2020-05-29 18:49:20 -05:00
|
|
|
$(LIBYANG_CPP)_DEPENDS += $(LIBYANG)
|
2019-11-07 15:45:39 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_CPP)))
|
|
|
|
|
|
|
|
LIBYANG_PY3 = python3-yang_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
2020-05-29 18:49:20 -05:00
|
|
|
$(LIBYANG_PY3)_DEPENDS += $(LIBYANG) $(LIBYANG_CPP)
|
2019-11-07 15:45:39 -06:00
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_PY3)))
|
|
|
|
|
2022-05-24 16:47:09 -05:00
|
|
|
$(eval $(call add_conflict_package,$(LIBYANG),$(LIBYANG1),$(LIBYANG2)))
|
|
|
|
$(eval $(call add_conflict_package,$(LIBYANG_DEV),$(LIBYANG1_DEV),$(LIBYANG2_DEV)))
|
2020-12-30 17:08:12 -06:00
|
|
|
|
2022-07-21 16:15:16 -05:00
|
|
|
export LIBYANG LIBYANG_DBGSYM LIBYANG_DEV LIBYANG_CPP LIBYANG_PY3
|