vlib: Add FreeBSD specific platform files

Type: improvement
Change-Id: I0739959084d7cfd8309793f54c92c046b94d7a02
Signed-off-by: Tom Jones <thj@freebsd.org>
diff --git a/src/vlib/CMakeLists.txt b/src/vlib/CMakeLists.txt
index 7ec9b20..3c354b7 100644
--- a/src/vlib/CMakeLists.txt
+++ b/src/vlib/CMakeLists.txt
@@ -55,6 +55,7 @@
 # vlib shared library
 ##############################################################################
 
+if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
 set(PLATFORM_SOURCES
   linux/pci.c
   linux/vfio.c
@@ -64,6 +65,11 @@
 set(PLATFORM_HEADERS
   linux/vfio.h
 )
+elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
+set(PLATFORM_SOURCES
+  freebsd/pci.c
+)
+endif()
 
 add_vpp_library(vlib
   SOURCES