VirtualBox

Changeset 31416 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 5, 2010 3:57:51 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64481
Message:

Devices/Makefile: synchronisation check for a duplicate file

File:
1 edited

Legend:

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

    r30976 r31416  
    11111111        USB/linux/USBProxyDevice-linux.cpp
    11121112
     1113# USBProxyDevice-linux.cpp and USBProxyDevice-linux.c should be kept in sync.
     1114# Hence this bit of ugliness that checks that they are identical, apart from
     1115# the first line of the files (svn attributes).
     1116# If you are updating the code, build with VBOX_WITH_TESTCASES= as long as you
     1117# haven't synced.
     1118ifdef VBOX_WITH_TESTCASES
     1119 ifndef VBOX_ONLY_SDK
     1120
     1121VBOX_PRX_DEV_LNX = $(PATH_ROOT)/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
     1122VRDP_PRX_DEV_LNX = $(PATH_ROOT)/src/VBox/RDP/client/vrdp/USBProxyDevice-linux.c
     1123VBOX_PRX_DEV_LNX_LINE1 = $(shell $(SED) -n '1 p' $(VBOX_PRX_DEV_LNX))
     1124VRDP_PRX_DEV_LNX_LINE1 = $(shell $(SED) -n '1 p' $(VRDP_PRX_DEV_LNX))
     1125
     1126  TESTING  += $(PATH_Drivers)/tstSameUSBProxyDevLinux.run
     1127  OTHERS   += $(PATH_Drivers)/tstSameUSBProxyDevLinux.run
     1128$$(PATH_Drivers)/tstSameUSBProxyDevLinux.run: \
     1129    $(VBOX_PRX_DEV_LNX) $(VRDP_PRX_DEV_LNX)
     1130        $(QUIET)$(CMP) $(VBOX_PRX_DEV_LNX) $(VRDP_PRX_DEV_LNX) \
     1131            $(length $(VBOX_PRX_DEV_LNX_LINE1)) \
     1132            $(length $(VRDP_PRX_DEV_LNX_LINE1))
     1133        $(QUIET)$(APPEND) -t "$@" "done"
     1134 endif
     1135endif
     1136
    11131137 Drivers_DEFS.l4      += VUSB_HAVE_USBPROXY_DEVICE
    11141138 Drivers_SOURCES.l4   += \
Note: See TracChangeset for help on using the changeset viewer.

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