Changeset 16960 in vbox
- Timestamp:
- Feb 19, 2009 10:13:33 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r16959 r16960 74 74 INST_VBOXDRV_TIGER = $(INST_DIST)VBoxDrvTiger.kext/ 75 75 INST_VBOXNETFLT = $(INST_DIST)VBoxNetFlt.kext/ 76 INST_VBOXNET TAP = $(INST_DIST)VBoxNetTap.kext/76 INST_VBOXNETADP = $(INST_DIST)VBoxNetAdp.kext/ 77 77 INST_VBOXUSB = $(INST_DIST)VBoxUSB.kext/ 78 78 INST_VBOXUSB_TIGER = $(INST_DIST)VBoxUSBTiger.kext/ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r16867 r16960 353 353 " [-floppy disabled|empty|<uuid>|\n" 354 354 " <filename>|host:<drive>]\n" 355 #if def RT_OS_LINUX355 #if defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) 356 356 " [-nic<1-N> none|null|nat|hostif|intnet|hostonly]\n" 357 #else /* !RT_OS_LINUX */357 #else /* !RT_OS_LINUX && !RT_OS_DARWIN */ 358 358 " [-nic<1-N> none|null|nat|hostif|intnet]\n" 359 #endif /* !RT_OS_LINUX */359 #endif /* !RT_OS_LINUX && !RT_OS_DARWIN */ 360 360 " [-nictype<1-N> Am79C970A|Am79C973" 361 361 #ifdef VBOX_WITH_E1000 -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r16867 r16960 1389 1389 CHECK_ERROR_RET(nic, AttachToInternalNetwork(), 1); 1390 1390 } 1391 #if def RT_OS_LINUX1391 #if defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) 1392 1392 else if (strcmp(nics[n], "hostonly") == 0) 1393 1393 { … … 1395 1395 CHECK_ERROR_RET(nic, AttachToHostOnlyNetwork(), 1); 1396 1396 } 1397 #endif /* RT_OS_LINUX*/1397 #endif /* defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) */ 1398 1398 else 1399 1399 { -
trunk/src/VBox/HostDrivers/Makefile.kmk
r16848 r16960 38 38 endif 39 39 endif 40 41 if1of ($(KBUILD_TARGET),solaris) 40 if1of ($(KBUILD_TARGET), darwin solaris) 42 41 ifdef VBOX_WITH_NETADP 43 42 include $(PATH_SUB_CURRENT)/VBoxNetAdp/Makefile.kmk -
trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk
r16848 r16960 23 23 include $(KBUILD_PATH)/subheader.kmk 24 24 25 if1of ($(KBUILD_TARGET), solaris) 25 26 if1of ($(KBUILD_TARGET), solaris darwin) 26 27 # 27 28 # vboxnetadp(.o) - The lower case driver. … … 31 32 SYSMODS += vboxnetadp 32 33 vboxnetadp_TEMPLATE = VBOXR0DRV 34 vboxnetadp_INST = $(INST_VBOXNETADP)$(if $(eq $(KBUILD_TARGET),darwin),Contents/MacOS/) 33 35 vboxnetadp_NAME.solaris = vboxnet 34 vboxnetadp_DEFS = IN_RT_R0 35 vboxnetadp_DEFS.solaris += VBOX_SVN_REV=$(VBOX_SVN_REV) 36 vboxnetadp_DEFS = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV) IN_SUP_STATIC 36 37 vboxnetadp_DEPS.solaris += $(VBOX_SVN_REV_KMK) 37 38 vboxnetadp_LDFLAGS.solaris += -N misc/gld 38 vboxnetflt_INCS := \ 39 vboxnetadp_LDFLAGS.darwin = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded 40 vboxnetadp_INCS := \ 39 41 $(PATH_SUB_CURRENT) 40 42 vboxnetadp_LIBS += \ 43 $(PATH_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB) 44 vboxnetadp_LIBS.solaris += \ 41 45 $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) 42 46 vboxnetadp_SOURCES.solaris = solaris/VBoxNetAdp-solaris.c 47 vboxnetadp_SOURCES.darwin = darwin/VBoxNetAdp-darwin.cpp 48 vboxnetadp_SOURCES = VBoxNetAdp.c 43 49 endif 44 50 endif 51 52 # Darwin extras. 53 ifeq ($(KBUILD_TARGET),darwin) 54 INSTALLS += VBoxNetAdp.kext 55 VBoxNetAdp.kext_INST = $(INST_VBOXNETADP)Contents/ 56 VBoxNetAdp.kext_SOURCES = \ 57 $(PATH_VBoxNetAdp.kext)/Info.plist 58 VBoxNetAdp.kext_CLEAN = \ 59 $(PATH_VBoxNetAdp.kext)/Info.plist 60 61 $$(PATH_VBoxNetAdp.kext)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@) 62 $(call MSG_GENERATE,VBoxNetAdp,$@,$<) 63 $(xQUIET)$(RM) -f $@ 64 $(xQUIET)$(SED) \ 65 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \ 66 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \ 67 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \ 68 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \ 69 --output $@ \ 70 $< 71 72 INSTALLS.darwin += Scripts-darwin-adp 73 Scripts-darwin-adp_INST = $(INST_DIST) 74 Scripts-darwin-adp_SOURCES = \ 75 darwin/loadnetadp.sh 76 endif # darwin 45 77 46 78 include $(KBUILD_PATH)/subfooter.kmk -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r16867 r16960 1639 1639 rc = CFGMR3InsertString(pCfg, "Trunk", "vboxnet0"); RC_CHECK(); 1640 1640 rc = CFGMR3InsertString(pCfg, "Network", "HostInterfaceNetworking-vboxnet0"); RC_CHECK(); 1641 #if def RT_OS_WINDOWS1641 #if defined(RT_OS_WINDOWS) || defined(RT_OS_DARWIN) 1642 1642 /* TODO: set the proper Trunk and Network values, currently the driver uses the first adapter instance */ 1643 1643 rc = CFGMR3InsertInteger(pCfg, "TrunkType", kIntNetTrunkType_NetAdp); RC_CHECK();
Note:
See TracChangeset
for help on using the changeset viewer.