VirtualBox

Changeset 5898 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Dec 2, 2007 6:08:26 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26428
Message:

kBuild 0.1.2 preps: Avoid the shell at all costs because cygwin is messing up on smp boxes and screwing up the tinderbox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r5458 r5898  
    229229ifndef DONT_USE_YASM
    230230        $(QUIET)$(TOOL_YASM_AS) $(MY_ASA_ASM_STUFF) -o [email protected] -l [email protected] $<
     231ifdef KMK_NEW_SED
     232        $(SED) -f $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm-lst.sed --output $@ [email protected]
     233else
    231234        $(SED) -f $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm-lst.sed [email protected] > $@
     235endif
    232236else
    233237        $(QUIET)$(TOOL_NASM_AS) -g $(MY_ASA_ASM_STUFF) -o [email protected] -l [email protected] $<
     
    255259        $(call MSG_GENERATE,tstVMStructSize,$@,$<)
    256260        $(QUIET)$(RM) -f $@ [email protected] [email protected]
     261ifdef KMK_USE_REDIRECT
     262        $(QUIET)$(REDIRECT) -wo [email protected] -- $(VBOX_NM) $<
     263else
    257264        $(VBOX_NM) $< > [email protected]
     265endif
     266ifdef KMK_NEW_SED
     267        $(QUIET)$(SED) -e '/STAMPROFILEADV/d' \
     268               -e '/00[0-9a-fA-F]* [aA] [^_.]*\./!d'       -e 's/\(00[0-9a-fA-F]*\) [aA] \([^.]*\)\.\(.*$$\)/    CHECK_OFF(\2, 0x0\1, \3);/' \
     269               --output [email protected] [email protected]
     270        $(QUIET)$(SED) -e '/VM_size$$/d' \
     271               -e '/00[0-9a-fA-F]* [aA] [^_.]*_size$$/!d'  -e 's/\(00[0-9a-fA-F]*\) [aA] \([^_.]*\)_size/    CHECK_SIZE(\2, 0x0\1);/' \
     272               --append [email protected] [email protected]
     273else
    258274        $(QUIET)$(SED) -e '/STAMPROFILEADV/d' \
    259275               -e '/00[0-9a-fA-F]* [aA] [^_.]*\./!d'       -e 's/\(00[0-9a-fA-F]*\) [aA] \([^.]*\)\.\(.*$$\)/    CHECK_OFF(\2, 0x0\1, \3);/' \
     
    262278               -e '/00[0-9a-fA-F]* [aA] [^_.]*_size$$/!d'  -e 's/\(00[0-9a-fA-F]*\) [aA] \([^_.]*\)_size/    CHECK_SIZE(\2, 0x0\1);/' \
    263279               [email protected] >> [email protected]
     280endif
    264281        $(QUIET)$(MV) -f [email protected] $@
    265282        $(QUIET)$(RM) -f [email protected]
     
    268285$(PATH_TARGET)/tstAsmStructsGC.h: $(PATH_TARGET)/tstAsmStructsHC.h
    269286        $(call MSG_GENERATE,tstVMStructSize,$@,$<)
     287ifdef KMK_NEW_SED
     288        $(QUIET)$(SED) -e '/VMMSWITCHERDEF/d' --output $@ $^
     289else
    270290        $(QUIET)$(SED) -e '/VMMSWITCHERDEF/d' \
    271291                $^ > $@
     292endif
    272293
    273294## @todo make this default kBuild behaviour.
     
    290311$(PATH_TARGET)/tstVMStructGC.h: $$(INSTARGET_tstVMStructGC)
    291312        $(call MSG_GENERATE,tstVMStructSize,$@)
     313ifdef KMK_USE_REDIRECT
     314        $(QUIET)$(REDIRECT) -wo $@ -- $(INSTARGET_tstVMStructGC)
     315else
    292316        $(QUIET)$(INSTARGET_tstVMStructGC) > $@
     317endif
    293318
    294319# 2. run it.
Note: See TracChangeset for help on using the changeset viewer.

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