diff options
author | Tom Jones <thj@freebsd.org> | 2024-01-30 09:07:06 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-02-18 15:57:17 +0000 |
commit | 6ce1e930e87938d9350da5ed7652cf64fbc82e6d (patch) | |
tree | 1e67695ebbcc7c60384e966515086ba96f56628d | |
parent | 393bfa786c56d50f3452384dbb75c1c49df434e6 (diff) |
vnet: Only build tap on Linux
tap requires some porting on FreeBSD, while we wait for those changes
only build tap on Linux.
Type: improvement
Change-Id: I4361bf43764fdb046c2138d4a2ee5d7efa31bd5a
Signed-off-by: Tom Jones <thj@freebsd.org>
-rw-r--r-- | src/vnet/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 32255401654..516a5fa8108 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -995,6 +995,7 @@ list(APPEND VNET_API_FILES # tap interface (with virtio backend) ############################################################################## +if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") list(APPEND VNET_SOURCES devices/tap/cli.c devices/tap/tap.c @@ -1008,6 +1009,7 @@ list(APPEND VNET_HEADERS list(APPEND VNET_API_FILES devices/tap/tapv2.api ) +endif() ############################################################################## # tap interface (with virtio backend) |