]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: add the sample dataplane plugin to the build 7850/head
authorMark Stapp <mjs@voltanet.io>
Mon, 11 Jan 2021 21:33:55 +0000 (16:33 -0500)
committerMark Stapp <mjs@voltanet.io>
Mon, 11 Jan 2021 21:33:55 +0000 (16:33 -0500)
Build the sample dataplane plugin with debug/dev builds.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/subdir.am

index cdacabc102895ba42dc75b30ed09cb0b01efaf06..f842a8c0f33e674567bc9cf3ab1a64b50afc3935 100644 (file)
@@ -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