Added Support to add Debian package depedency for Python Debs and Python (#5484)
Wheel target. This change are based of master corresponding changes. Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
This commit is contained in:
parent
4dbe391b9a
commit
26e4f669bd
4
slave.mk
4
slave.mk
@ -428,6 +428,7 @@ $(SONIC_INSTALL_TARGETS) : $(DEBS_PATH)/%-install : .platform $$(addsuffix -inst
|
|||||||
# $(SOME_NEW_DEB)_DEPENDS = $(SOME_OTHER_DEB1) $(SOME_OTHER_DEB2) ...
|
# $(SOME_NEW_DEB)_DEPENDS = $(SOME_OTHER_DEB1) $(SOME_OTHER_DEB2) ...
|
||||||
# SONIC_PYTHON_STDEB_DEBS += $(SOME_NEW_DEB)
|
# SONIC_PYTHON_STDEB_DEBS += $(SOME_NEW_DEB)
|
||||||
$(addprefix $(PYTHON_DEBS_PATH)/, $(SONIC_PYTHON_STDEB_DEBS)) : $(PYTHON_DEBS_PATH)/% : .platform \
|
$(addprefix $(PYTHON_DEBS_PATH)/, $(SONIC_PYTHON_STDEB_DEBS)) : $(PYTHON_DEBS_PATH)/% : .platform \
|
||||||
|
$$(addsuffix -install,$$(addprefix $(DEBS_PATH)/,$$($$*_DEBS_DEPENDS))) \
|
||||||
$$(addsuffix -install,$$(addprefix $(PYTHON_DEBS_PATH)/,$$($$*_DEPENDS))) \
|
$$(addsuffix -install,$$(addprefix $(PYTHON_DEBS_PATH)/,$$($$*_DEPENDS))) \
|
||||||
$$(addsuffix -install,$$(addprefix $(PYTHON_WHEELS_PATH)/,$$($$*_WHEEL_DEPENDS)))
|
$$(addsuffix -install,$$(addprefix $(PYTHON_WHEELS_PATH)/,$$($$*_WHEEL_DEPENDS)))
|
||||||
$(HEADER)
|
$(HEADER)
|
||||||
@ -454,7 +455,8 @@ SONIC_TARGET_LIST += $(addprefix $(PYTHON_DEBS_PATH)/, $(SONIC_PYTHON_STDEB_DEBS
|
|||||||
# $(SOME_NEW_WHL)_PYTHON_VERSION = 2 (or 3)
|
# $(SOME_NEW_WHL)_PYTHON_VERSION = 2 (or 3)
|
||||||
# $(SOME_NEW_WHL)_DEPENDS = $(SOME_OTHER_WHL1) $(SOME_OTHER_WHL2) ...
|
# $(SOME_NEW_WHL)_DEPENDS = $(SOME_OTHER_WHL1) $(SOME_OTHER_WHL2) ...
|
||||||
# SONIC_PYTHON_WHEELS += $(SOME_NEW_WHL)
|
# SONIC_PYTHON_WHEELS += $(SOME_NEW_WHL)
|
||||||
$(addprefix $(PYTHON_WHEELS_PATH)/, $(SONIC_PYTHON_WHEELS)) : $(PYTHON_WHEELS_PATH)/% : .platform $$(addsuffix -install,$$(addprefix $(PYTHON_WHEELS_PATH)/,$$($$*_DEPENDS)))
|
$(addprefix $(PYTHON_WHEELS_PATH)/, $(SONIC_PYTHON_WHEELS)) : $(PYTHON_WHEELS_PATH)/% : .platform $$(addsuffix -install,$$(addprefix $(PYTHON_WHEELS_PATH)/,$$($$*_DEPENDS))) \
|
||||||
|
$$(addsuffix -install,$$(addprefix $(DEBS_PATH)/,$$($$*_DEBS_DEPENDS)))
|
||||||
$(HEADER)
|
$(HEADER)
|
||||||
pushd $($*_SRC_PATH) $(LOG)
|
pushd $($*_SRC_PATH) $(LOG)
|
||||||
# apply series of patches if exist
|
# apply series of patches if exist
|
||||||
|
Loading…
Reference in New Issue
Block a user