mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
vbox6: add shared folder support
builds virtualbox6-sharedfolders.lib.so from unmodified VirtualBox6 sources. fixes #4288
This commit is contained in:
parent
eb80d6ce66
commit
350353885e
18
repos/ports/lib/mk/virtualbox6-sharedfolders.mk
Normal file
18
repos/ports/lib/mk/virtualbox6-sharedfolders.mk
Normal 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
|
@ -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>
|
||||
|
@ -1,3 +1,4 @@
|
||||
TARGET = dummy-virtualbox6-services
|
||||
|
||||
LIBS += virtualbox6-sharedclipboard
|
||||
LIBS += virtualbox6-sharedfolders
|
||||
|
Loading…
Reference in New Issue
Block a user