Skip to content

Commit

Permalink
[FRR]: Change the FRR as a submodule (#1071)
Browse files Browse the repository at this point in the history
Signed-off-by: zxu@linkedin.com
  • Loading branch information
zhenggen-xu authored and lguohan committed Oct 24, 2017
1 parent fd34d90 commit a49ac2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@
[submodule "platform/broadcom/sonic-platform-modules-cel"]
path = platform/broadcom/sonic-platform-modules-cel
url = https://github.com/celestica-Inc/sonic-platform-modules-cel.git
[submodule "src/sonic-frr/frr"]
path = src/sonic-frr/frr
url = https://github.com/FRRouting/frr.git
5 changes: 0 additions & 5 deletions src/sonic-frr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ SHELL = /bin/bash
MAIN_TARGET = frr_$(FRR_VERSION)_amd64.deb

$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
# Cloning FRR repo if not already done
if [ ! -d "frr" ]; then \
git clone -b stable/$(FRR_VERSION) https://github.com/FRRouting/frr.git; \
fi

# Replacing frr's rules/install files with SONiC's own versions to activate
# specific knobs and adjust install process to address SONiC's needs.
cp sonic_frr.rules frr/debian/rules
Expand Down
1 change: 1 addition & 0 deletions src/sonic-frr/frr
Submodule frr added at 5424c6

0 comments on commit a49ac2d

Please sign in to comment.