Skip to content

Commit a31c080

Browse files
authored
[build]: add sonic-config-engine to sonic-utilitie build dependency (#1075)
1 parent 41f226f commit a31c080

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rules/sonic-utilities.mk

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
SONIC_UTILS = python-sonic-utilities_1.1-1_all.deb
44
$(SONIC_UTILS)_SRC_PATH = $(SRC_PATH)/sonic-utilities
5+
$(SONIC_UTILS)_WHEEL_DEPENDS = $(SONIC_CONFIG_ENGINE)
56
SONIC_PYTHON_STDEB_DEBS += $(SONIC_UTILS)

slave.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ SONIC_TARGET_LIST += $(addprefix $(DEBS_PATH)/, $(SONIC_DPKG_DEBS))
222222
# $(SOME_NEW_DEB)_SRC_PATH = $(SRC_PATH)/project_name
223223
# $(SOME_NEW_DEB)_DEPENDS = $(SOME_OTHER_DEB1) $(SOME_OTHER_DEB2) ...
224224
# SONIC_PYTHON_STDEB_DEBS += $(SOME_NEW_DEB)
225-
$(addprefix $(DEBS_PATH)/, $(SONIC_PYTHON_STDEB_DEBS)) : $(DEBS_PATH)/% : .platform $$(addsuffix -install,$$(addprefix $(DEBS_PATH)/,$$($$*_DEPENDS)))
225+
$(addprefix $(DEBS_PATH)/, $(SONIC_PYTHON_STDEB_DEBS)) : $(DEBS_PATH)/% : .platform $$(addsuffix -install,$$(addprefix $(DEBS_PATH)/,$$($$*_DEPENDS))) \
226+
$$(addsuffix -install,$$(addprefix $(PYTHON_WHEELS_PATH)/,$$($$*_WHEEL_DEPENDS)))
226227
$(HEADER)
227228
# Apply series of patches if exist
228229
if [ -f $($*_SRC_PATH).patch/series ]; then pushd $($*_SRC_PATH) && QUILT_PATCHES=../$(notdir $($*_SRC_PATH)).patch quilt push -a; popd; fi

0 commit comments

Comments
 (0)