parent
ff7ef851d5
commit
fb666d23f1
@ -4,17 +4,20 @@ SHELL = /bin/bash
|
|||||||
|
|
||||||
MAIN_TARGET = $(FRR)
|
MAIN_TARGET = $(FRR)
|
||||||
DERIVED_TARGET = $(FRR_PYTHONTOOLS) $(FRR_DBG) $(FRR_SNMP) $(FRR_SNMP_DBG)
|
DERIVED_TARGET = $(FRR_PYTHONTOOLS) $(FRR_DBG) $(FRR_SNMP) $(FRR_SNMP_DBG)
|
||||||
|
BRANCH = $(shell date +%Y%m%d\.%H%M%S)
|
||||||
|
|
||||||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||||
# Build the package
|
# Build the package
|
||||||
pushd ./frr
|
pushd ./frr
|
||||||
patch -p1 < ../patch/0001-Add-support-of-bgp-tcp-DSCP-value.patch
|
git checkout -b $(BRANCH) origin/frr/7.0
|
||||||
patch -p1 < ../patch/0002-Reduce-severity-of-Vty-connected-from-message.patch
|
stg init
|
||||||
patch -p1 < ../patch/0003-ignore-nexthop-attribute-when-NLRI-is-present.patch
|
stg import -s ../patch/series
|
||||||
patch -p1 < ../patch/0004-Allow-BGP-attr-NEXT_HOP-to-be-0.0.0.0-due-to-allevia.patch
|
|
||||||
patch -p1 < ../patch/0005-Support-VRF.patch
|
|
||||||
tools/tarsource.sh -V -e '-sonic'
|
tools/tarsource.sh -V -e '-sonic'
|
||||||
dpkg-buildpackage -rfakeroot -b -us -uc -Ppkg.frr.nortrlib -j$(SONIC_CONFIG_MAKE_JOBS)
|
dpkg-buildpackage -rfakeroot -b -us -uc -Ppkg.frr.nortrlib -j$(SONIC_CONFIG_MAKE_JOBS)
|
||||||
|
stg undo
|
||||||
|
git clean -xfdf
|
||||||
|
git checkout frr/7.0
|
||||||
|
git branch -D $(BRANCH)
|
||||||
popd
|
popd
|
||||||
mv $(DERIVED_TARGET) $* $(DEST)/
|
mv $(DERIVED_TARGET) $* $(DEST)/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user