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