From fc84b6ee088617647f26e979932ee74a8d7a6ea7 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 4 Oct 2022 17:59:38 +0200 Subject: [PATCH] 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 --- python/makefile.py | 3 +++ 1 file changed, 3 insertions(+) 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])) )