summaryrefslogtreecommitdiff
path: root/grpc
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-05-09 07:22:08 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2024-05-09 18:02:49 +0200
commitd65280a9a8e6c894c29dd17e328b99e2aaaf8c51 (patch)
tree9bcfae121c0d7e87c3236c70cbde6483fe3fa4d3 /grpc
parent5ed6db5e9ee6cf916a32d40ac8b573095fb240c7 (diff)
build: throw in a few more `XREF_SETUP`
This really should be all of them. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'grpc')
-rw-r--r--grpc/frrgrpc_pb.c9
-rw-r--r--grpc/subdir.am4
2 files changed, 13 insertions, 0 deletions
diff --git a/grpc/frrgrpc_pb.c b/grpc/frrgrpc_pb.c
new file mode 100644
index 0000000000..938d777534
--- /dev/null
+++ b/grpc/frrgrpc_pb.c
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: ISC
+/*
+ * libfrrgrpc_pb library stub source
+ */
+
+#include "config.h"
+#include "xref.h"
+
+XREF_SETUP();
diff --git a/grpc/subdir.am b/grpc/subdir.am
index 06b37f91d6..a464edc930 100644
--- a/grpc/subdir.am
+++ b/grpc/subdir.am
@@ -10,6 +10,10 @@ nodist_grpc_libfrrgrpc_pb_la_SOURCES = \
grpc/frr-northbound.pb.cc \
grpc/frr-northbound.grpc.pb.cc \
# end
+
+grpc_libfrrgrpc_pb_la_SOURCES = \
+ grpc/frrgrpc_pb.c \
+ # end
endif
CLEANFILES += \