VirtualBox

source: vbox/trunk/src/VBox/VMM/Config.kmk@ 80305

Last change on this file since 80305 was 80305, checked in by vboxsync, 6 years ago

REM,VMM,tstInt,Devices: Use VMM_COMMON_DEFS when including vm.h so the layout is always right. bugref:9217

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1# $Id: Config.kmk 80305 2019-08-15 17:35:00Z vboxsync $
2## @file
3# kBuild Configuration file for the VMM.
4#
5
6#
7# Copyright (C) 2006-2019 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18VBOX_VMM_CONFIG_KMK_INCLUDED = 1
19
20# Include the top-level configure file.
21ifndef VBOX_ROOT_CONFIG_KMK_INCLUDED
22 include $(PATH_ROOT)/Config.kmk
23endif
24
25#
26# Globals
27#
28
29## DEFS variable that is picked up by all three VMM targets (R0, R3, RC).
30# Can be prepended to by setting it in LocalConfig.kmk
31ifdef VBOX_WITH_3RD_IEM_STEP
32 VMM_COMMON_DEFS += VBOX_WITH_3RD_IEM_STEP
33endif
34ifdef VBOX_WITH_NESTED_HWVIRT_SVM
35 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_SVM
36endif
37ifdef VBOX_WITH_NESTED_HWVIRT_VMX
38 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX
39endif
40ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
41 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
42endif
43#ifdef VBOX_WITH_IEM
44# VMM_COMMON_DEFS += VBOX_WITH_IEM
45#endif
46# part of global DEFS
47#ifdef VBOX_WITH_REM
48# VMM_COMMON_DEFS += VBOX_WITH_REM
49#endif
50ifdef VBOX_WITH_MULTI_CORE
51 VMM_COMMON_DEFS += VBOX_WITH_MULTI_CORE
52endif
53ifdef VBOX_WITH_R0_LOGGING
54 VMM_COMMON_DEFS += VBOX_WITH_R0_LOGGING
55endif
56ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
57 VMM_COMMON_DEFS += VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
58endif
59ifdef VBOX_WITH_PCI_PASSTHROUGH
60 VMM_COMMON_DEFS += VBOX_WITH_PCI_PASSTHROUGH
61endif
62ifdef VBOX_WITH_DTRACE_RC
63 VMM_COMMON_DEFS += VBOX_WITH_DTRACE_RC
64endif
65ifdef VBOX_WITH_SAFE_STR
66 VMM_COMMON_DEFS += VBOX_WITH_SAFE_STR
67endif
68ifdef VBOX_WITH_64ON32_IDT
69 VMM_COMMON_DEFS += VBOX_WITH_64ON32_IDT
70endif
71ifdef VBOX_WITH_64ON32_CMOS_DEBUG
72 VMM_COMMON_DEFS += VBOX_WITH_64ON32_CMOS_DEBUG
73endif
74ifdef VBOXSTRICTRC_STRICT_ENABLED
75 VMM_COMMON_DEFS += VBOXSTRICTRC_STRICT_ENABLED
76endif
77ifeq ($(KBUILD_TARGET),amd64)
78 VMM_COMMON_DEFS += VBOX_WITH_MORE_RING0_MEM_MAPPINGS
79endif
80ifdef VBOX_WITH_NATIVE_NEM
81 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64)
82 VMM_COMMON_DEFS += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0
83 endif
84endif
85ifdef VBOX_BUGREF_9217
86 VMM_COMMON_DEFS += VBOX_BUGREF_9217
87endif
88
89# VMM_COMMON_DEFS += VBOX_WITH_NS_ACCOUNTING_STATS
90
Note: See TracBrowser for help on using the repository browser.

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