vlib: Add FreeBSD specific platform files
Type: improvement Change-Id: I0739959084d7cfd8309793f54c92c046b94d7a02 Signed-off-by: Tom Jones <thj@freebsd.org>
This commit is contained in:
@ -55,6 +55,7 @@ install(
|
||||
# vlib shared library
|
||||
##############################################################################
|
||||
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||||
set(PLATFORM_SOURCES
|
||||
linux/pci.c
|
||||
linux/vfio.c
|
||||
@ -64,6 +65,11 @@ set(PLATFORM_SOURCES
|
||||
set(PLATFORM_HEADERS
|
||||
linux/vfio.h
|
||||
)
|
||||
elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
|
||||
set(PLATFORM_SOURCES
|
||||
freebsd/pci.c
|
||||
)
|
||||
endif()
|
||||
|
||||
add_vpp_library(vlib
|
||||
SOURCES
|
||||
|
Reference in New Issue
Block a user