vppinfra: Improve code portability
[vpp.git] / src / plugins / avf / CMakeLists.txt
index 8f8798b..ca6f2cb 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_vpp_plugin(avf_plugin
+add_vpp_plugin(avf
+  SOURCES
   cli.c
   device.c
+  elog.c
   format.c
   input.c
   output.c
   plugin.c
   avf_api.c
-  avf.api
-)
+  flow.c
+  avf_fdir_lib.c
+  avf_rss_lib.c
 
-vpp_library_set_multiarch_sources(avf_plugin
+  MULTIARCH_SOURCES
   input.c
   output.c
+
+  MULTIARCH_FORCE_ON trm
+
+  API_FILES
+  avf.api
+
+  API_TEST_SOURCES
+  avf_test.c
 )