build: don't include vtysh.xref in frr.xref

vtysh.xref only contains a rather-useless duplicate of every single CLI
command incorporated into vtysh...  and including it prevents frr.xref
from becoming the source for vtysh_cmd.c.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2022-10-04 17:59:38 +02:00
parent 8ba718d7f7
commit fc84b6ee08

View file

@ -160,6 +160,9 @@ for clippy_file in clippy_scan:
# combine daemon .xref files into frr.xref
out_lines.append("")
xref_targets = [
target for target in xref_targets if target not in ["tools/ssd", "vtysh/vtysh"]
]
out_lines.append(
"xrefs = %s" % (" ".join(["%s.xref" % target for target in xref_targets]))
)