VirtualBox

Changeset 2690 in vbox for trunk/src


Ignore:
Timestamp:
May 17, 2007 3:10:50 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21258
Message:

A simplified approach.

Location:
trunk/src/VBox/HostDrivers/VBoxTAP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxTAP/Makefile.kmk

    r2683 r2690  
    5151VBoxTAP-inf_INST = bin/
    5252VBoxTAP-inf_MODE = a+r,u+w
    53 ifndef VBOX_SIGNING_MODE
    54 VBoxTAP-inf_SOURCES = VBoxTAP.inf
    55 else
    5653VBoxTAP-inf_SOURCES = \
    57         $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf \
    58         $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat
    59 VBoxTAP-inf_CLEAN += \
    60         $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat \
    61         $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.sys \
     54        $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf
     55VBoxTAP-inf_CLEAN = \
    6256        $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf
    6357VBoxTAP-inf_BLDDIRS = $(PATH_TARGET)/VBoxTAPCat.dir
     
    6559$(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf: $(PATH_SUB_CURRENT)/VBoxTAP.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
    6660        $(call MSG_GENERATE,VBoxTAP-inf,$@,$<)
    67         $(QUIET2)$(RM) -f $@
    68  ifeq ($(BUILD_TARGET_ARCH),amd64)
    69         $(QUIET)$(SED) \
    70                 -e 's/^\;\;* *CatalogFile *=/CatalogFile=/' \
    71                 -e 's/^ *\%Provider% *= *VBoxTAP *$$/%Provider% = VBoxTAP,NTamd64/' \
    72                 -e 's/^\[VBoxTAP\] *$$/\[VBoxTAP.NTamd64\]/' \
    73                 -e 's/^\;amd64 *//' \
    74                 $< > $@
    75  else
    76         $(QUIET)$(SED) \
    77                 -e 's/^\;\;* *CatalogFile *=/CatalogFile=/' \
    78                 $< > $@
    79  endif
     61        $(call VBOX_EDIT_INF_FN,$<,$@)
     62
     63ifdef VBOX_SIGNING_MODE
     64VBoxTAP-inf_SOURCES += \
     65        $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat
     66VBoxTAP-inf_CLEAN += \
     67        $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat \
     68        $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.sys
    8069
    8170$(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat: $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf $$(TARGET_VBoxTAP)
     
    8372        $(INSTALL) -m 644 $(TARGET_VBoxTAP) $(@D)
    8473        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    85 
    8674endif # signing
    8775
  • trunk/src/VBox/HostDrivers/VBoxTAP/VBoxTAP.inf

    r1783 r2690  
    2020[Version]
    2121   Signature = "$Windows NT$"
    22 ;;;;   CatalogFile = VBoxTAP.cat
     22;cat   CatalogFile = VBoxTAP.cat
    2323   ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
    2424   Provider = %Provider%
     
    3838;----------------------------------------------------------------
    3939[Manufacturer]
    40    %Provider% = VBoxTAP
     40;x86   %Provider% = VBoxTAP
     41;amd64 %Provider% = VBoxTAP, NTamd64
    4142
    42 [VBoxTAP]
     43;x86   [VBoxTAP]
     44;amd64 [VBoxTAP.NTamd64]
    4345   %DeviceDescription% = VBoxTAP.ndi, VBoxTAP
    4446
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