Changeset 28781 in vbox
- Timestamp:
- Apr 26, 2010 8:49:54 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r28741 r28781 222 222 $(if $(VBOX_WITH_RESOURCE_USAGE_API),VBOX_WITH_RESOURCE_USAGE_API,) \ 223 223 $(if $(VBOX_WITH_PDM_ASYNC_COMPLETION),VBOX_WITH_PDM_ASYNC_COMPLETION,) \ 224 $(if $(VBOX_WITH_DBUS), VBOX_WITH_DBUS,) \224 $(if $(VBOX_WITH_DBUS),$(if $(VBOX_USB_WITH_DBUS),VBOX_USB_WITH_DBUS,),) \ 225 225 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) \ 226 226 $(if $(VBOX_USB_WITH_FAM),VBOX_USB_WITH_FAM,) \ -
trunk/src/VBox/Main/linux/HostHardwareLinux.cpp
r28779 r28781 33 33 #include <VBox/log.h> 34 34 35 #ifdef VBOX_ WITH_DBUS35 #ifdef VBOX_USB_WITH_DBUS 36 36 # include <VBox/dbus.h> 37 37 #endif … … 100 100 static int getUSBDeviceInfoFromSysfs(USBDeviceInfoList *pList, bool *pfSuccess); 101 101 # endif 102 # ifdef VBOX_ WITH_DBUS102 # ifdef VBOX_USB_WITH_DBUS 103 103 /* These must be extern to be usable in the RTMemAutoPtr template */ 104 104 extern void VBoxHalShutdown (DBusConnection *pConnection); … … 136 136 static DBusHandlerResult dbusFilterFunction (DBusConnection *pConnection, 137 137 DBusMessage *pMessage, void *pvUser); 138 # endif /* VBOX_ WITH_DBUS */138 # endif /* VBOX_USB_WITH_DBUS */ 139 139 #endif /* VBOX_USB_WITH_SYSFS */ 140 140 … … 1031 1031 mDeviceList.clear(); 1032 1032 #ifdef VBOX_USB_WITH_SYSFS 1033 # ifdef VBOX_ WITH_DBUS1033 # ifdef VBOX_USB_WITH_DBUS 1034 1034 bool halSuccess = false; 1035 1035 if ( RT_SUCCESS(rc) … … 1043 1043 if (!success) 1044 1044 success = halSuccess; 1045 # endif /* VBOX_ WITH_DBUS */1045 # endif /* VBOX_USB_WITH_DBUS */ 1046 1046 # ifdef VBOX_USB_WITH_FAM 1047 1047 if ( RT_SUCCESS(rc) … … 1061 1061 } 1062 1062 1063 #if defined VBOX_USB_WITH_SYSFS && defined VBOX_ WITH_DBUS1063 #if defined VBOX_USB_WITH_SYSFS && defined VBOX_USB_WITH_DBUS 1064 1064 class hotplugDBusImpl : public VBoxMainHotplugWaiterImpl 1065 1065 { … … 1168 1168 mInterrupt = true; 1169 1169 } 1170 #endif /* VBOX_USB_WITH_SYSFS && VBOX_ WITH_DBUS */1170 #endif /* VBOX_USB_WITH_SYSFS && VBOX_USB_WITH_DBUS */ 1171 1171 1172 1172 class hotplugNullImpl : public VBoxMainHotplugWaiterImpl … … 1349 1349 Assert(!RTFileExists("/proc/bus/usb/devices")); 1350 1350 # endif 1351 # ifdef VBOX_ WITH_DBUS1351 # ifdef VBOX_USB_WITH_DBUS 1352 1352 Assert(!hotplugDBusImpl::HalAvailable()); 1353 1353 # endif … … 1502 1502 { 1503 1503 #ifdef VBOX_USB_WITH_SYSFS 1504 # ifdef VBOX_ WITH_DBUS1504 # ifdef VBOX_USB_WITH_DBUS 1505 1505 if (hotplugDBusImpl::HalAvailable()) 1506 1506 { … … 1508 1508 return; 1509 1509 } 1510 # endif /* VBOX_ WITH_DBUS */1510 # endif /* VBOX_USB_WITH_DBUS */ 1511 1511 # ifdef VBOX_USB_WITH_FAM 1512 1512 if (hotplugSysfsFAMImpl::SysfsAvailable()) … … 1760 1760 #endif /* VBOX_USB_WITH_SYSFS */ 1761 1761 1762 #if defined VBOX_USB_WITH_SYSFS && defined VBOX_ WITH_DBUS1762 #if defined VBOX_USB_WITH_SYSFS && defined VBOX_USB_WITH_DBUS 1763 1763 /** Wrapper class around DBusError for automatic cleanup */ 1764 1764 class autoDBusError … … 2529 2529 return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; 2530 2530 } 2531 #endif /* VBOX_USB_WITH_SYSFS && VBOX_ WITH_DBUS */2532 2531 #endif /* VBOX_USB_WITH_SYSFS && VBOX_USB_WITH_DBUS */ 2532 -
trunk/src/VBox/Main/testcase/Makefile.kmk
r28741 r28781 132 132 TESTCASE \ 133 133 $(if $(VBOX_WITH_LINUX_COMPILER_H),VBOX_WITH_LINUX_COMPILER_H,) \ 134 $(if $(VBOX_WITH_DBUS), VBOX_WITH_DBUS,) \134 $(if $(VBOX_WITH_DBUS),$(if $(VBOX_USB_WITH_DBUS),VBOX_USB_WITH_DBUS,),) \ 135 135 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) \ 136 136 $(if $(VBOX_USB_WITH_FAM),VBOX_USB_WITH_FAM,)
Note:
See TracChangeset
for help on using the changeset viewer.