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>
This commit is contained in:
Mark Stapp 2021-01-11 16:33:55 -05:00
parent fb913e53a5
commit b9f15b49b2

View 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