VirtualBox

Changeset 103485 in vbox


Ignore:
Timestamp:
Feb 21, 2024 10:16:44 AM (8 months ago)
Author:
vboxsync
Message:

Config.kmk: Add parfait and parfait-dbg build types, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r103369 r103485  
    7070BLD_TYPE_dbgopt_EXTENDS = debug
    7171BLD_TYPE_dbgopt_EXTENDS_BY = overriding
     72
     73## 'parfait' builds
     74# Same as release builds, except that the result is prepared for static code
     75# analysis by parfait.
     76KBUILD_BLD_TYPES += parfait
     77BLD_TYPE_parfait_EXTENDS = release
     78BLD_TYPE_parfait_EXTENDS_BY = appending
     79
     80## 'parfait-dbg' builds
     81# Same as debug builds, except that the result is prepared for static code
     82# analysis by parfait.
     83KBUILD_BLD_TYPES += parfait-dbg
     84BLD_TYPE_parfait-dbg_EXTENDS = release
     85BLD_TYPE_parfait-dbg_EXTENDS_BY = appending
    7286
    7387# Temporary hack for kBuild ticket #83.
     
    14091423
    14101424
    1411 ifdef VBOX_WITH_PARFAIT
     1425#
     1426# Configure 'parfait' and 'parfait-dbg' builds.
     1427#
     1428# We ASSUME that anyone doing this kind of build has the parfait tools
     1429# package already fetched using:
     1430#     kmk VBOX_WITH_PARFAIT=1 -C tools fetch
     1431#
     1432if1of ($(KBUILD_TYPE),parfait parfait-dbg)
     1433 VBOX_WITH_PARFAIT := 1
     1434 VBOX_WITHOUT_PRECOMPILED_HEADERS := 1 # @todo Remove when working everywhere
     1435endif
     1436
     1437
     1438if defined(VBOX_WITH_PARFAIT)
    14121439 #
    14131440 # This includes the tool overrides for running with parfait.
     
    20242051DEFS.strict      = RT_STRICT VBOX_STRICT
    20252052DEFS.asan        = RT_STRICT VBOX_STRICT
     2053DEFS.parfait     = VBOX_WITH_PARFAIT
     2054DEFS.parfait-dbg = VBOX_WITH_PARFAIT
    20262055DEFS.x86         = RT_ARCH_X86 __X86__
    20272056DEFS.amd64       = RT_ARCH_AMD64 __AMD64__
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