summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-01-11 16:33:55 -0500
committerMark Stapp <mjs@voltanet.io>2021-01-11 16:33:55 -0500
commitb9f15b49b29859badecd41f3656d460a419085dc (patch)
treee5fb9812f89c704186059ba57e6f08e4a6c762f4
parentfb913e53a589f1f68dca9308799d19451ebf22e5 (diff)
zebra: add the sample dataplane plugin to the build
Build the sample dataplane plugin with debug/dev builds. Signed-off-by: Mark Stapp <mjs@voltanet.io>
-rw-r--r--zebra/subdir.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/zebra/subdir.am b/zebra/subdir.am
index cdacabc102..f842a8c0f3 100644
--- a/zebra/subdir.am
+++ b/zebra/subdir.am
@@ -40,6 +40,11 @@ if LINUX
module_LTLIBRARIES += zebra/zebra_cumulus_mlag.la
endif
+# Dataplane sample plugin
+if DEV_BUILD
+module_LTLIBRARIES += zebra/dplane_sample_plugin.la
+endif
+
man8 += $(MANBUILD)/frr-zebra.8
## endif ZEBRA
endif
@@ -206,6 +211,12 @@ zebra/zebra_fpm_dt.lo: fpm/fpm.pb-c.h qpb/qpb.pb-c.h
endif
endif
+# Sample dataplane plugin
+if DEV_BUILD
+zebra_dplane_sample_plugin_la_SOURCES = zebra/sample_plugin.c
+zebra_dplane_sample_plugin_la_LDFLAGS = -module -shared -avoid-version -export-dynamic
+endif
+
nodist_zebra_zebra_SOURCES = \
yang/frr-zebra.yang.c \
# end