VirtualBox

Changeset 99786 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 14, 2023 4:43:34 PM (19 months ago)
Author:
vboxsync
Message:

Devices/Network: wip. partial implementation of libslirp driver. bugref:10268

Location:
trunk/src/VBox/Devices
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile.kmk

    r99750 r99786  
    163163 VBoxDD_INCS             = \
    164164        build \
    165         Network/slirp \
    166165        $(VBOX_GRAPHICS_INCS)
     166
     167 ifndef VBOX_WITH_LIBSLIRP
     168        VBoxDD_INCS += Network/slirp
     169 endif
    167170 VBoxDD_DEFS             = \
    168171        VBOX_HGCM_HOST_CODE \
     
    774777        Network/DrvNATlibslirp.cpp
    775778  Network/DrvNATlibslirp.cpp_INCS += \
    776         $(PATH_ROOT)/src/libs/libslirp-4.7.0/libslirp.h
     779        $(PATH_ROOT)/src/libs/libslirp-4.7.0/src \
     780        $(PATH_ROOT)/src/libs/libslirp-4.7.0/build
    777781 endif
    778782
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r99750 r99786  
    301301        return rc;
    302302#endif
     303#ifndef VBOX_WITH_LIBSLIRP
    303304    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvNAT);
    304305    if (RT_FAILURE(rc))
    305306        return rc;
     307#endif
    306308#if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
    307309    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostInterface);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette