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
|
|
|
|
$(LIBYANG)_DEPENDS += $(SWIG_BASE) $(SWIG)
|
|
|
|
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)))
|
|
|
|
|
2019-11-07 15:45:39 -06:00
|
|
|
LIBYANG_DBG = libyang-dbg_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
2019-07-04 00:13:55 -05:00
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_DBG)))
|
|
|
|
|
2019-11-07 15:45:39 -06:00
|
|
|
LIBYANG_CPP = libyang-cpp_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_CPP)))
|
|
|
|
|
|
|
|
LIBYANG_PY3 = python3-yang_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_PY3)))
|
|
|
|
|
|
|
|
LIBYANG_PY2 = python2-yang_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
|
|
|
|
$(eval $(call add_derived_package,$(LIBYANG),$(LIBYANG_PY2)))
|
|
|
|
|
|
|
|
export LIBYANG LIBYANG_DBG LIBYANG_DEV LIBYANG_CPP LIBYANG_PY3 LIBYANG_PY2
|