04ffd67fda
* Enhanced slave.mk to accept python wheels as dependency for a deb target. Dependent wheel names should be specified through the new {deb_name}_WHEEL_DEPENDS variable in the deb's make rules. The wheel will be built and installed in the slave docker before starting the deb build. * Added sonic_yang_models-1.0-py3-none-any.whl as dependency for sonic-mgmt-common.deb. This is required for using the sonic yangs in UMF Signed-off-by: Sachin Holla <sachin.holla@broadcom.com>
14 lines
594 B
Makefile
14 lines
594 B
Makefile
# SONiC mgmt-common package
|
|
|
|
MGMT_COMMON_VERSION = 1.0.0
|
|
SONIC_MGMT_COMMON = sonic-mgmt-common_$(MGMT_COMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
|
$(SONIC_MGMT_COMMON)_SRC_PATH = $(SRC_PATH)/sonic-mgmt-common
|
|
$(SONIC_MGMT_COMMON)_DEPENDS = $(LIBYANG_DEV) $(LIBYANG)
|
|
$(SONIC_MGMT_COMMON)_RDEPENDS = $(LIBYANG)
|
|
$(SONIC_MGMT_COMMON)_WHEEL_DEPENDS = $(SONIC_YANG_MODELS_PY3)
|
|
SONIC_DPKG_DEBS += $(SONIC_MGMT_COMMON)
|
|
|
|
SONIC_MGMT_COMMON_CODEGEN = sonic-mgmt-common-codegen_$(MGMT_COMMON_VERSION)_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(SONIC_MGMT_COMMON),$(SONIC_MGMT_COMMON_CODEGEN)))
|
|
|