VirtualBox

Changeset 22781 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 4, 2009 1:56:49 PM (15 years ago)
Author:
vboxsync
Message:

SSM: Save the build type and host os+arch, feed the strings from the makefile.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r22309 r22781  
    187187        VMMSwitcher/AMD64ToPAE.asm
    188188
     189# SSM wish to know the build type, host os and arch.
     190SSM.cpp_DEFS += \
     191        KBUILD_TYPE=\"$(KBUILD_TYPE)\" \
     192        KBUILD_TARGET=\"$(KBUILD_TARGET)\" \
     193        KBUILD_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\"
    189194
    190195#
  • trunk/src/VBox/VMM/SSM.cpp

    r22780 r22781  
    838838     * Terminated by two empty strings.
    839839     */
    840 #ifdef DEBUG
    841840    SSMR3PutStrZ(pSSM, "Build Type");
    842     SSMR3PutStrZ(pSSM, "debug");
    843 #elif defined(VBOX_STRICT)
    844     SSMR3PutStrZ(pSSM, "Build Type");
    845     SSMR3PutStrZ(pSSM, "strict");
    846 #endif
     841    SSMR3PutStrZ(pSSM, KBUILD_TYPE);
     842    SSMR3PutStrZ(pSSM, "Host OS");
     843    SSMR3PutStrZ(pSSM, KBUILD_TARGET "." KBUILD_TARGET_ARCH);
    847844#ifdef VBOX_OSE
    848845    SSMR3PutStrZ(pSSM, "OSE");
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