vbox6: add shared folder support

builds virtualbox6-sharedfolders.lib.so from unmodified VirtualBox6
sources.

fixes #4288
This commit is contained in:
Sebastian Sumpf 2021-10-07 13:41:56 +02:00 committed by Norman Feske
parent eb80d6ce66
commit 350353885e
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,18 @@
include $(REP_DIR)/lib/mk/virtualbox6-common.inc
SHARED_LIB = yes
SRC_CC += mappings.cpp
SRC_CC += shflhandle.cpp
SRC_CC += VBoxSharedFoldersSvc.cpp
SRC_CC += vbsf.cpp
SRC_CC += vbsfpathabs.cpp
SRC_CC += vbsfpath.cpp
LIBS += stdcxx
INC_DIR += $(VBOX_DIR)/HostServices/SharedFolders
CC_CXX_WARN_STRICT =
vpath %.cpp $(VBOX_DIR)/HostServices/SharedFolders

View File

@ -56,6 +56,7 @@
<dir name="pipe"> <pipe/> </dir>
<dir name="shared"> <fs label="shared" writeable="yes"/> </dir>
<rom name="VBoxSharedClipboard.so"/>
<rom name="VBoxSharedFolders.so"/>
<fs writeable="yes"/>
</vfs>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc" pipe="/pipe">
@ -79,6 +80,8 @@
<service name="ROM" label="platform_info"> <parent label="platform_info"/> </service>
<service name="ROM" label="VBoxSharedClipboard.so">
<parent label="virtualbox6-sharedclipboard.lib.so"/> </service>
<service name="ROM" label="VBoxSharedFolders.so">
<parent label="virtualbox6-sharedfolders.lib.so"/> </service>
<service name="Nic"> <parent/> </service>
<service name="Report" label="shape"> <parent label="shape"/> </service>
<service name="ROM" label="clipboard"> <parent label="clipboard"/> </service>
@ -104,6 +107,7 @@
<rom label="vfs_oss.lib.so"/>
<rom label="vfs_pipe.lib.so"/>
<rom label="virtualbox6-sharedclipboard.lib.so"/>
<rom label="virtualbox6-sharedfolders.lib.so"/>
</content>
</runtime>

View File

@ -1,3 +1,4 @@
TARGET = dummy-virtualbox6-services
LIBS += virtualbox6-sharedclipboard
LIBS += virtualbox6-sharedfolders