Skip to content

Commit

Permalink
Support submodule patching if provided (#403)
Browse files Browse the repository at this point in the history
* Support submodule patching if provided
* Replace stg with quilt, working without git branch
  • Loading branch information
qiluo-msft authored Mar 16, 2017
1 parent 05e6b36 commit 74b6c40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ $(SONIC_INSTALL_TARGETS) : $(DEBS_PATH)/%-install : .platform $$(addsuffix -inst
$(addprefix $(PYTHON_WHEELS_PATH)/, $(SONIC_PYTHON_WHEELS)) : $(PYTHON_WHEELS_PATH)/% : .platform $$(addsuffix -install,$$(addprefix $(PYTHON_WHEELS_PATH)/,$$($$*_DEPENDS)))
$(HEADER)
pushd $($*_SRC_PATH) $(LOG)
if [ -f ../$(notdir $($*_SRC_PATH)).patch/series ]; then QUILT_PATCHES=../$(notdir $($*_SRC_PATH)).patch/series quilt push -a; fi
python$($*_PYTHON_VERSION) setup.py bdist_wheel $(LOG)
if [ -f ../$(notdir $($*_SRC_PATH)).patch/series ]; then quilt pop -a; fi
popd $(LOG)
mv $($*_SRC_PATH)/dist/$* $(PYTHON_WHEELS_PATH) $(LOG)
$(FOOTER)
Expand Down

0 comments on commit 74b6c40

Please sign in to comment.