]> git.proxmox.com Git - mirror_frr.git/commit - zebra/subdir.am
zebra: Allow zebra_mlag to compile with no j factor
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 10 Dec 2019 01:48:21 +0000 (20:48 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 15 Dec 2019 14:36:23 +0000 (09:36 -0500)
commit14d9bbbe5c6526f729f0bdbd7e0513d69feb1a87
tree933c6981fdfc0c21ebd467f52525463546a92b52
parentf4d7bc0820f04df798eb208fcce5f5f7e4b18034
zebra: Allow zebra_mlag to compile with no j factor

If you compile FRR with no j factor zebra_mlag.c fails to
build because the vtysh extraction methodology runs first
before the protobuf compiler runs and that compilation does
not have the proper dependancy chain built for the inclusions
that zebra_mlag.c had.  Moving the DEF* code into a zebra_mlag_vty.c
which can be included in the vtysh extraction code and has
no mlag.proto dependancies makes the compilation work better.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/subdir.am
zebra/zebra_mlag.c
zebra/zebra_mlag.h
zebra/zebra_mlag_vty.c [new file with mode: 0644]