summaryrefslogtreecommitdiff
path: root/python/makefile.py
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-10-04 17:59:38 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2022-10-06 15:40:06 +0200
commitfc84b6ee088617647f26e979932ee74a8d7a6ea7 (patch)
tree180e9ecd5974cfe4d6cb52510e4b7005e4cc4755 /python/makefile.py
parent8ba718d7f7684b4242b77cacbfb1532b0041d7a9 (diff)
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>
Diffstat (limited to 'python/makefile.py')
-rw-r--r--python/makefile.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/makefile.py b/python/makefile.py
index afc993b5b9..bd897b7508 100644
--- a/python/makefile.py
+++ b/python/makefile.py
@@ -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]))
)