1 | # $Id: Makefile.kmk 96285 2022-08-18 08:01:23Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top level makefile.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2022 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 |
|
---|
18 | SUB_DEPTH = .
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | #
|
---|
22 | # Sub-makefiles / Sub-directories.
|
---|
23 | #
|
---|
24 | ifndef VBOX_ONLY_ROOT_MAKEFILE
|
---|
25 | if (defined(VBOX_WITH_DOCS) || defined(VBOX_WITH_MAIN)) \
|
---|
26 | && (!defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK)) \
|
---|
27 | && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
|
---|
28 | include $(PATH_SUB_CURRENT)/doc/manual/Makefile.kmk
|
---|
29 | endif
|
---|
30 | include $(PATH_SUB_CURRENT)/src/Makefile.kmk
|
---|
31 | ifdef VBOX_WITH_INCLUDE_SYNTAX_CHECKING
|
---|
32 | include $(PATH_SUB_CURRENT)/include/Makefile.kmk
|
---|
33 | endif
|
---|
34 | endif
|
---|
35 |
|
---|
36 | #
|
---|
37 | # Below we might need TOOL_ZIP_UNPACK (for the additions/docs/efifw packages
|
---|
38 | # from the build server), and it's not really worth the effort of dragging in
|
---|
39 | #q this tool only if absolutely needed.
|
---|
40 | #
|
---|
41 | ## @todo Hack to get at TOOL_ZIP_UNPACK; see if this can be integrated somehow...
|
---|
42 | include $(KBUILD_PATH)/tools/ZIP.kmk
|
---|
43 | ifndef TOOL_ZIP_PACK
|
---|
44 | TOOL_ZIP_PACK = zip
|
---|
45 | endif
|
---|
46 |
|
---|
47 |
|
---|
48 | ## @todo split up this file!
|
---|
49 |
|
---|
50 |
|
---|
51 | #
|
---|
52 | # Clean up global stuff that Config.kmk generates.
|
---|
53 | #
|
---|
54 | OTHER_CLEAN += \
|
---|
55 | $(VBOX_PACKAGE_HEADER) \
|
---|
56 | $(VBOX_LICENSE_VER_KMK) \
|
---|
57 | $(VBOX_VERSION_MK) \
|
---|
58 | $(VBOX_VERSION_HEADER) \
|
---|
59 | $(VBOX_VERSION_STAMP) \
|
---|
60 | $(wildcard $(PATH_OUT)/version-stamp-*.*.*) \
|
---|
61 | $(VBOX_SVN_REV_KMK).ts \
|
---|
62 | $(VBOX_SVN_REV_KMK) \
|
---|
63 | $(PATH_OUT)/DynamicConfig.kmk
|
---|
64 |
|
---|
65 |
|
---|
66 | if !defined(VBOX_ONLY_ADDITIONS) \
|
---|
67 | && !defined(VBOX_ONLY_DOCS) \
|
---|
68 | && !defined(VBOX_ONLY_EXTPACKS) \
|
---|
69 | && !defined(VBOX_ONLY_VALIDATIONKIT) # -> line 426b ;-)
|
---|
70 |
|
---|
71 | if !defined(VBOX_OSE) && defined(VBOX_LICENSE_FILES)
|
---|
72 | #
|
---|
73 | # Install the license (and misc non-executable stuff).
|
---|
74 | #
|
---|
75 | INSTALLS += InstallLicenseFiles
|
---|
76 | InstallLicenseFiles_INST = $(INST_BIN)
|
---|
77 | InstallLicenseFiles_MODE = 0644
|
---|
78 | InstallLicenseFiles_SOURCES =
|
---|
79 | InstallLicenseFiles_SOURCES += \
|
---|
80 | $(VBOX_BRAND_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER).html \
|
---|
81 | $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES),$(VBOX_BRAND_$(f)_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER)-$(f).html)
|
---|
82 | endif
|
---|
83 |
|
---|
84 |
|
---|
85 | #
|
---|
86 | # Install external binaries (mostly redistributable parts of tools we use).
|
---|
87 | #
|
---|
88 | # To avoid dragging in unnecessary tools and sdks here, we don't use the .win
|
---|
89 | # and .linux property suffixes.
|
---|
90 | #
|
---|
91 | INSTALLS += InstallExternalLibs
|
---|
92 |
|
---|
93 | InstallExternalLibs_INST = $(INST_BIN)
|
---|
94 |
|
---|
95 | # The SDL DLLs
|
---|
96 | if1of ($(KBUILD_TARGET), win os2)
|
---|
97 | ifdef VBOX_WITH_VBOXSDL
|
---|
98 | include $(KBUILD_PATH)/sdks/LIBSDL.kmk
|
---|
99 | InstallExternalLibs_SOURCES += \
|
---|
100 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDL))
|
---|
101 | ifdef VBOX_WITH_SECURELABEL
|
---|
102 | InstallExternalLibs_SOURCES += \
|
---|
103 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDLTTF))
|
---|
104 | endif
|
---|
105 | ifeq ($(KBUILD_TARGET),os2)
|
---|
106 | InstallExternalLibs_SOURCES += \
|
---|
107 | $(DLL_SDK_LIBSDL_FSLIB)
|
---|
108 | endif
|
---|
109 | endif
|
---|
110 | endif
|
---|
111 |
|
---|
112 |
|
---|
113 | # The compiler runtime DLLs.
|
---|
114 | ifeq ($(KBUILD_TARGET).$(VBOX_WITHOUT_COMPILER_REDIST),win.)
|
---|
115 | ifndef TOOL_$(VBOX_VCC_TOOL)
|
---|
116 | include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL).kmk
|
---|
117 | endif
|
---|
118 | ifndef TOOL_$(VBOX_VCC_TOOL_STEM)X86
|
---|
119 | include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL_STEM)X86.kmk
|
---|
120 | endif
|
---|
121 | ifdef PATH_TOOL_$(VBOX_VCC_TOOL_STEM)_REDIST
|
---|
122 | InstallExternalLibs_SOURCES += \
|
---|
123 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT)/), \
|
---|
124 | $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)) \
|
---|
125 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \
|
---|
126 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll)))
|
---|
127 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
128 | InstallExternalLibs_SOURCES += \
|
---|
129 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT)/), \
|
---|
130 | $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)) \
|
---|
131 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll)))
|
---|
132 | endif
|
---|
133 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
134 | InstallExternalLibs_SOURCES += \
|
---|
135 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_DEBUG_CRT)/), \
|
---|
136 | $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)))) \
|
---|
137 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \
|
---|
138 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll)))
|
---|
139 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
140 | InstallExternalLibs_SOURCES += \
|
---|
141 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_DEBUG_CRT)/), \
|
---|
142 | $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)))) \
|
---|
143 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll)))
|
---|
144 | endif
|
---|
145 | endif
|
---|
146 | ifeq ($(KBUILD_TYPE),asan)
|
---|
147 | ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
---|
148 | InstallExternalLibs_SOURCES += \
|
---|
149 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll) \
|
---|
150 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dynamic-x86_64.dll
|
---|
151 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
152 | InstallExternalLibs_SOURCES += \
|
---|
153 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll) \
|
---|
154 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dbg_dynamic-x86_64.dll
|
---|
155 | endif
|
---|
156 | endif
|
---|
157 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
158 | InstallExternalLibs_SOURCES += \
|
---|
159 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll) \
|
---|
160 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll)=>testcase/clang_rt.asan_dynamic-i386.dll
|
---|
161 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
162 | InstallExternalLibs_SOURCES += \
|
---|
163 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll) \
|
---|
164 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll)=>testcase/clang_rt.asan_dbg_dynamic-i386.dll
|
---|
165 | endif
|
---|
166 | endif
|
---|
167 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
168 | InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dynamic-i386.dll
|
---|
169 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
170 | InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dbg_dynamic-i386.dll
|
---|
171 | endif
|
---|
172 | endif
|
---|
173 | endif
|
---|
174 | else
|
---|
175 | VBOX_VCC_REDIR_BASE := Microsoft.VC$(substr $(VBOX_VCC_TOOL),4,3)
|
---|
176 | VBOX_PATH_VCC_REDIST = $(PATH_TOOL_$(VBOX_VCC_TOOL))/redist/
|
---|
177 | VBOX_PATH_VCC_REDIST_CRT = $(VBOX_PATH_VCC_REDIST)/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).CRT
|
---|
178 | VBOX_PATH_VCC_REDIST_CRT_DBG = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).DebugCRT
|
---|
179 | VBOX_PATH_VCC_REDIST_CRT_X86 = $(VBOX_PATH_VCC_REDIST)/x86/$(VBOX_VCC_REDIR_BASE).CRT
|
---|
180 | VBOX_PATH_VCC_REDIST_CRT_DBG_X86 = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/x86/$(VBOX_VCC_REDIR_BASE).DebugCRT
|
---|
181 |
|
---|
182 | InstallExternalLibs_SOURCES += \
|
---|
183 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \
|
---|
184 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \
|
---|
185 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \
|
---|
186 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll
|
---|
187 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
188 | InstallExternalLibs_SOURCES += \
|
---|
189 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \
|
---|
190 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll
|
---|
191 | endif
|
---|
192 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
193 | InstallExternalLibs_SOURCES += \
|
---|
194 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \
|
---|
195 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \
|
---|
196 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \
|
---|
197 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll
|
---|
198 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
199 | InstallExternalLibs_SOURCES += \
|
---|
200 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \
|
---|
201 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll
|
---|
202 | endif
|
---|
203 | endif
|
---|
204 | endif
|
---|
205 | endif
|
---|
206 |
|
---|
207 | #
|
---|
208 | # Install our Qt DLLs / Shared Objects / Frameworks.
|
---|
209 | # Note: The installer fixes the darwin .dylibs when hardening is enabled.
|
---|
210 | # Note: Contents/Info.plist is where it's in 4.7.x, not sure if the location is kosher... According to
|
---|
211 | # https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
|
---|
212 | # the Info.plist file goes into Resources.
|
---|
213 | #
|
---|
214 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
215 | ifdef VBOX_WITH_QT6
|
---|
216 | include $(KBUILD_PATH)/units/qt6.kmk
|
---|
217 | VBOX_QT_FWRK_VER = A
|
---|
218 | VBOX_QT_PATH = $(PATH_SDK_QT6)
|
---|
219 | VBOX_QT_PATH_LIB = $(PATH_SDK_QT6_LIB)
|
---|
220 | else
|
---|
221 | include $(KBUILD_PATH)/units/qt5.kmk
|
---|
222 | VBOX_QT_FWRK_VER = 5
|
---|
223 | VBOX_QT_PATH = $(PATH_SDK_QT5)
|
---|
224 | VBOX_QT_PATH_LIB = $(PATH_SDK_QT5_LIB)
|
---|
225 | endif
|
---|
226 | ifdef VBOX_WITH_QTGUI
|
---|
227 | INSTALLS += qt5-bin
|
---|
228 | endif
|
---|
229 | qt5-bin_INST = $(INST_VIRTUALBOX)Contents/
|
---|
230 | qt5-bin_EXEC_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
|
---|
231 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod))
|
---|
232 | qt5-bin_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
|
---|
233 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist)
|
---|
234 | ifdef VBOX_WITH_QT_DSYMS
|
---|
235 | qt5-bin_SOURCES += $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
|
---|
236 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Info.plist=>Frameworks/$(qtmod).framework.dSYM/Contents/Info.plist \
|
---|
237 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)=>Frameworks/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod))
|
---|
238 | endif
|
---|
239 | qt5-bin_EXEC_SOURCES += \
|
---|
240 | $(VBOX_QT_PATH)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \
|
---|
241 | $(VBOX_QT_PATH)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \
|
---|
242 | $(VBOX_QT_PATH)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL) \
|
---|
243 | $(VBOX_QT_PATH)/plugins/sqldrivers/libqsqlite$(SUFF_DLL)=>plugins/sqldrivers/libqsqlite$(SUFF_DLL) \
|
---|
244 | $(VBOX_QT_PATH)/plugins/styles/libqmacstyle$(SUFF_DLL)=>plugins/styles/libqmacstyle$(SUFF_DLL)
|
---|
245 | ifdef VBOX_WITH_QT_DSYMS
|
---|
246 | qt5-bin_SOURCES += $(foreach qtplat, libqcocoa libqminimal libqoffscreen, \
|
---|
247 | $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist \
|
---|
248 | $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL))
|
---|
249 | qt5-bin_SOURCES += $(foreach qtsqldrv, libqsqlite, \
|
---|
250 | $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist \
|
---|
251 | $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL)=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL))
|
---|
252 | qt5-bin_SOURCES += $(foreach qtstyl, libqmacstyle, \
|
---|
253 | $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist \
|
---|
254 | $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL)=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL))
|
---|
255 | endif
|
---|
256 | qt5-bin_SYMLINKS = $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \
|
---|
257 | Frameworks/$(qtmod).framework/Versions/Current=>$(VBOX_QT_FWRK_VER) \
|
---|
258 | Frameworks/$(qtmod).framework/$(qtmod)=>Versions/$(VBOX_QT_FWRK_VER)/$(qtmod) \
|
---|
259 | Frameworks/$(qtmod).framework/Resources=>Versions/$(VBOX_QT_FWRK_VER)/Resources)
|
---|
260 | qt5-bin_INSTALLER = $(INSTALL) $(if $(uid),-o $(uid)) $(if $(gid),-g $(gid)) $(if $(mode),-m $(mode)) $(4) -- \
|
---|
261 | "$(1)" "$(2)" $(if-expr "$(source_type_prefix)" == "EXEC_" \
|
---|
262 | ,$(NLTAB)install_name_tool \
|
---|
263 | $(if-expr "$(suffix $2)" == "", -id "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Framework,@rpath)/$(notdir $(2)).framework/Version/$(VBOX_QT_FWRK_VER)/$(notdir $(2))",) \
|
---|
264 | $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \
|
---|
265 | $(foreach prefix, @executable_path/../Frameworks/ $(VBOX_PATH_QT)/Frameworks/ $(VBOX_QT_PATH)/, \
|
---|
266 | -change "$(prefix)$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" \
|
---|
267 | "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Frameworks,@rpath)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" ) ) \
|
---|
268 | "$(2)",) # HACK ALERT! Using $(source_type_prefix) to detect EXEC_SOURCES.
|
---|
269 | else # win x11
|
---|
270 | if1of ($(KBUILD_TARGET), linux solaris)
|
---|
271 | ifndef VBOX_ONLY_BUILD
|
---|
272 | ifneq ($(VBOX_GCC_VERSION_CXX),)
|
---|
273 | if $(VBOX_GCC_VERSION_CXX) < 40400
|
---|
274 | $(error gcc >= 4.4 required when compiling against Qt5!)
|
---|
275 | endif
|
---|
276 | endif
|
---|
277 | endif
|
---|
278 | endif
|
---|
279 | if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD)
|
---|
280 | include $(KBUILD_PATH)/units/qt5.kmk
|
---|
281 | ifeq ($(KBUILD_TARGET),win)
|
---|
282 | ifdef VBOX_WITH_QTGUI
|
---|
283 | INSTALLS += qt5-bin
|
---|
284 | endif
|
---|
285 | qt5-bin_MODE = 755
|
---|
286 | qt5-bin_INST = $(INST_BIN)
|
---|
287 | qt5-bin_SOURCES = \
|
---|
288 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/bin/$(qtmod)$(SUFF_DLL)))
|
---|
289 | qt5-bin_SOURCES += \
|
---|
290 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qwindows$(SUFF_DLL))=>platforms/qwindows$(SUFF_DLL) \
|
---|
291 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qminimal$(SUFF_DLL))=>platforms/qminimal$(SUFF_DLL) \
|
---|
292 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qoffscreen$(SUFF_DLL))=>platforms/qoffscreen$(SUFF_DLL) \
|
---|
293 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/sqldrivers/qsqlite$(SUFF_DLL))=>sqldrivers/qsqlite$(SUFF_DLL) \
|
---|
294 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/styles/qwindowsvistastyle$(SUFF_DLL))=>styles/qwindowsvistastyle$(SUFF_DLL)
|
---|
295 | ifdef VBOX_WITH_QT_PDBS
|
---|
296 | qt5-bin_SOURCES += \
|
---|
297 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(PATH_SDK_QT5)/qt*/$(VBOX_PATH_QT_LIB)/$(qtmod).pdb))
|
---|
298 | endif # VBOX_WITH_QT_PDBS
|
---|
299 | else # x11
|
---|
300 | ifdef VBOX_WITH_QTGUI
|
---|
301 | INSTALLS += qt5-bin
|
---|
302 | endif
|
---|
303 | qt5-bin_MODE = 755
|
---|
304 | qt5-bin_INST = $(INST_BIN)
|
---|
305 | ifdef VBOX_WITH_HARDENING
|
---|
306 | # The wildcards are necessary to install the libs instead of the symlinks
|
---|
307 | qt5-bin_SOURCES = \
|
---|
308 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(VBOX_PATH_QT_LIB)/lib$(qtmod).so.*.*.*[0-9])=>lib$(qtmod).so.5) \
|
---|
309 | $(foreach lib,$(VBOX_QT_PLUGINS),$(VBOX_PATH_QT)/$(lib)=>$(lib))
|
---|
310 | else # !VBOX_WITH_HARDENING
|
---|
311 | # For non-hardened builds we need to remove the RUNPATH. This stuff is
|
---|
312 | # ugly but we need to prevent kBuild from hard-linking otherwise we
|
---|
313 | # (indirectly) change the binaries in tools
|
---|
314 | ifneq ($(KBUILD_TARGET),solaris)
|
---|
315 | QT5_VERSION = 5.15.2
|
---|
316 | else
|
---|
317 | QT5_VERSION = 5.15.2
|
---|
318 | endif
|
---|
319 | qt5-bin_SOURCES = \
|
---|
320 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)=>lib$(qtmod).so.5) \
|
---|
321 | $(foreach lib,$(VBOX_QT_PLUGINS),$(qt5-bin_0_OUTDIR)/$(lib)=>$(lib))
|
---|
322 |
|
---|
323 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)): \
|
---|
324 | $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT_LIB)/% | $$(qt5-bin_0_OUTDIR)/
|
---|
325 | $(call MSG_INST_FILE,$^,$@)
|
---|
326 | $(QUIET)$(CP) $^ $@
|
---|
327 | $(QUIET)chrpath --replace "\$$ORIGIN" $@
|
---|
328 |
|
---|
329 | ifn1of ($(KBUILD_TARGET),solaris linux)
|
---|
330 | $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \
|
---|
331 | $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/
|
---|
332 | $(call MSG_INST_FILE,$^,$@)
|
---|
333 | $(QUIET)$(MKDIR) -p $(@D)
|
---|
334 | $(QUIET)$(CP) $^ $@
|
---|
335 | $(QUIET)chrpath --delete $@
|
---|
336 | endif # !solaris and !linux
|
---|
337 |
|
---|
338 | # @todo For solaris and some linuxes dlopen fails to navigate executable rpath to dependent libraries,
|
---|
339 | # so add explicit rpath for libqxcb.so, find better solution later.
|
---|
340 | if1of ($(KBUILD_TARGET),solaris linux)
|
---|
341 | $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \
|
---|
342 | $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/
|
---|
343 | $(call MSG_INST_FILE,$^,$@)
|
---|
344 | $(QUIET)$(MKDIR) -p $(@D)
|
---|
345 | $(QUIET)$(CP) $^ $@
|
---|
346 | $(QUIET)chrpath --replace "\$$ORIGIN/../../" $@
|
---|
347 | endif # solaris linux
|
---|
348 |
|
---|
349 | endif # !VBOX_WITH_HARDENING
|
---|
350 | endif # x11
|
---|
351 | endif # VBOX_WITH_ORACLE_QT || VBOX_WITH_QT_PAYLOAD
|
---|
352 | endif # win x11
|
---|
353 |
|
---|
354 |
|
---|
355 | #
|
---|
356 | # Install additions iso from the build server if configured to do so.
|
---|
357 | #
|
---|
358 | # Note! For building the combined package, just get the additions .ISO
|
---|
359 | # once for amd64 to prevent version inconsistences. In all other
|
---|
360 | # cases we get the .ISO per target architecture.
|
---|
361 | #
|
---|
362 | if defined(VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER) \
|
---|
363 | && ( !defined(VBOX_WITH_COMBINED_PACKAGE) \
|
---|
364 | || "$(KBUILD_TARGET_ARCH)" == "amd64" )
|
---|
365 | INSTALLS += buildserver-additions
|
---|
366 | buildserver-additions_INST = $(INST_ADDITIONS_ISO)
|
---|
367 | buildserver-additions_MODE = 0644
|
---|
368 | buildserver-additions_SOURCES = $(PATH_TARGET)/VBoxGuestAdditions.iso
|
---|
369 | buildserver-additions_CLEANS = \
|
---|
370 | $(buildserver-additions_0_OUTDIR)/unpacked.ts \
|
---|
371 | $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip \
|
---|
372 | $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip.tmp \
|
---|
373 | $(PATH_TARGET)/VBoxGuestAdditions.iso
|
---|
374 |
|
---|
375 | $$(buildserver-additions_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VBoxGuestAdditions.iso: \
|
---|
376 | $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip
|
---|
377 | $(call MSG_L1,Unpacking additions archive)
|
---|
378 | $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
|
---|
379 | $(TOUCH) -c -- $(PATH_TARGET)/VBoxGuestAdditions.iso
|
---|
380 | $(APPEND) -t $@ "done"
|
---|
381 |
|
---|
382 | $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/additions.sh | $$(dir $$@)
|
---|
383 | $(RM) -f -- "$@" "$@.tmp"
|
---|
384 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/additions.sh --cmd fetch --filename "$@.tmp" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
385 | $(MV) -f -- "$@.tmp" "$@"
|
---|
386 |
|
---|
387 | endif # VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER unless win.x86+combined
|
---|
388 |
|
---|
389 |
|
---|
390 | #
|
---|
391 | # Install documentation files (at the moment the .chm) from the build server.
|
---|
392 | #
|
---|
393 | ifdef VBOX_WITH_DOCS_FROM_BUILD_SERVER
|
---|
394 | ## @todo r=bird: Too much mess now for $(PATH_TARGET); move to doc/manual/.
|
---|
395 | INSTALLS += buildserver-docs
|
---|
396 | buildserver-docs_INST = $(INST_BIN)
|
---|
397 | buildserver-docs_MODE = 0644
|
---|
398 | buildserver-docs_SOURCES = \
|
---|
399 | $(addprefix $(PATH_TARGET)/, \
|
---|
400 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox.chm,) \
|
---|
401 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),UserManual.qch UserManual.qhc,) \
|
---|
402 | UserManual.pdf \
|
---|
403 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
404 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox_$(f).chm,) \
|
---|
405 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),UserManual_$(f).qch UserManual_$(f).qhc,) \
|
---|
406 | UserManual_$(f).pdf))
|
---|
407 | buildserver-docs_CLEANS = \
|
---|
408 | $(buildserver-docs_0_OUTDIR)/unpacked.ts \
|
---|
409 | $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip \
|
---|
410 | $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip.tmp \
|
---|
411 | $(addprefix $(PATH_TARGET)/, \
|
---|
412 | VirtualBox.chm UserManual.qch UserManual.qhc UserManual.pdf \
|
---|
413 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
414 | VirtualBox_$(f).chm \
|
---|
415 | UserManual_$(f).qch UserManual_$(f).qhc \
|
---|
416 | UserManual_$(f).pdf))
|
---|
417 |
|
---|
418 | $$(buildserver-docs_0_OUTDIR)/unpacked.ts +| \
|
---|
419 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox.chm,) \
|
---|
420 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual.qch $(PATH_TARGET)/UserManual.qhc,) \
|
---|
421 | $(PATH_TARGET)/UserManual.pdf \
|
---|
422 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
423 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox_$(f).chm,) \
|
---|
424 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual_$(f).qch $(PATH_TARGET)/UserManual_$(f).qhc,) \
|
---|
425 | $(PATH_TARGET)/UserManual_$(f).pdf): \
|
---|
426 | $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip
|
---|
427 | $(call MSG_L1,Unpacking documentation)
|
---|
428 | $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
|
---|
429 | $(TOUCH) -c -- \
|
---|
430 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox.chm,) \
|
---|
431 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual.qch $(PATH_TARGET)/UserManual.qhc,) \
|
---|
432 | $(PATH_TARGET)/UserManual.pdf \
|
---|
433 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
434 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox_$(f).chm,) \
|
---|
435 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual_$(f).qch $(PATH_TARGET)/UserManual_$(f).qhc,) \
|
---|
436 | $(PATH_TARGET)/UserManual_$(f).pdf)
|
---|
437 | $(APPEND) -t $@ "done"
|
---|
438 |
|
---|
439 | $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/documentation.sh | $$(dir $$@)
|
---|
440 | $(RM) -f -- "$@" "$@.tmp"
|
---|
441 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/documentation.sh --cmd fetch --filename "$@.tmp" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
442 | $(MV) -f -- "$@.tmp" "$@"
|
---|
443 |
|
---|
444 | endif # VBOX_WITH_DOCS_FROM_BUILD_SERVER
|
---|
445 |
|
---|
446 |
|
---|
447 | ifdef VBOX_WITH_EFI
|
---|
448 | #
|
---|
449 | # Install EFI firmware image
|
---|
450 | #
|
---|
451 | ifdef VBOX_WITH_EFIFW_FROM_BUILD_SERVER
|
---|
452 | #
|
---|
453 | # Either from the build server.
|
---|
454 | #
|
---|
455 | ifndef VBOX_EFI_FIRMWARE_EFI_MODULES_KMK_INCLUDED
|
---|
456 | include $(PATH_ROOT)/src/VBox/Devices/EFI/Firmware/EfiModules.kmk
|
---|
457 | endif
|
---|
458 | INSTALLS += buildserver-efifw
|
---|
459 | buildserver-efifw_INST = $(INST_BIN)
|
---|
460 | buildserver-efifw_MODE = 0644
|
---|
461 | buildserver-efifw_SOURCES = \
|
---|
462 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
463 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd
|
---|
464 | buildserver-efifw_CLEANS = \
|
---|
465 | $(buildserver-efifw_0_OUTDIR)/unpacked.ts \
|
---|
466 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
467 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd \
|
---|
468 | $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip \
|
---|
469 | $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip.tmp \
|
---|
470 | $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb))
|
---|
471 |
|
---|
472 | INSTALLS += buildserver-efifw-dbg-amd64
|
---|
473 | buildserver-efifw-dbg-amd64_INST = $(INST_VBOXDBG_SYMS)amd64/
|
---|
474 | buildserver-efifw-dbg-amd64_MODE = 0644
|
---|
475 | buildserver-efifw-dbg-amd64_SOURCES = \
|
---|
476 | $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$(buildserver-efifw_0_OUTDIR)/amd64/$(mod).pdb)
|
---|
477 |
|
---|
478 | INSTALLS += buildserver-efifw-dbg-x86
|
---|
479 | buildserver-efifw-dbg-x86_INST = $(INST_VBOXDBG_SYMS)x86/
|
---|
480 | buildserver-efifw-dbg-x86_MODE = 0644
|
---|
481 | buildserver-efifw-dbg-x86_SOURCES = \
|
---|
482 | $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$(buildserver-efifw_0_OUTDIR)/x86/$(mod).pdb)
|
---|
483 |
|
---|
484 | $$(buildserver-efifw_0_OUTDIR)/unpacked.ts \
|
---|
485 | +| $$(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
486 | $$(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd \
|
---|
487 | $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb)): \
|
---|
488 | $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip
|
---|
489 | $(call MSG_L1,Unpacking EFI firmware)
|
---|
490 | $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(buildserver-efifw_0_OUTDIR)
|
---|
491 | $(foreach arch, amd64 x86, \
|
---|
492 | $(NLTAB) $(QUIET)$(TEST) '!' -d $(dir $@)/$(arch) -- $(MKDIR_EXT) -- $(dir $@)/$(arch) \
|
---|
493 | $(foreach mod,$(VBOX_EFI_MODULES_FLAT) \
|
---|
494 | ,$(NLTAB) $(QUIET)$(TEST) '!' -f $(dir $@)/$(arch)/$(mod).pdb -- $(APPEND_EXT) $(dir $@)/$(arch)/$(mod).pdb ))
|
---|
495 | $(TOUCH) -c -- $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
496 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd
|
---|
497 | $(APPEND) -t $@ "done"
|
---|
498 |
|
---|
499 | $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip: \
|
---|
500 | $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh | $$(dir $$@)
|
---|
501 | $(RM) -f -- "$@" "$@.tmp"
|
---|
502 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename "$@.tmp" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
503 | $(MV) -f -- "$@.tmp" "$@"
|
---|
504 |
|
---|
505 | else # !VBOX_WITH_EFIFW_FROM_BUILD_SERVER
|
---|
506 | #
|
---|
507 | # Or from the local copy (no debug).
|
---|
508 | #
|
---|
509 | INSTALLS += local-efifw
|
---|
510 | local-efifw_INST = $(INST_BIN)
|
---|
511 | local-efifw_MODE = 0644
|
---|
512 | local-efifw_SOURCES = \
|
---|
513 | $(PATH_ROOT)/src/VBox/Devices/EFI/FirmwareBin/VBoxEFI32.fd=>VBoxEFI32.fd \
|
---|
514 | $(PATH_ROOT)/src/VBox/Devices/EFI/FirmwareBin/VBoxEFI64.fd=>VBoxEFI64.fd
|
---|
515 | endif # !VBOX_WITH_EFIFW_FROM_BUILD_SERVER
|
---|
516 | endif # VBOX_WITH_EFI
|
---|
517 |
|
---|
518 |
|
---|
519 | ifdef VBOX_WITH_EXTPACKS_FROM_BUILD_SERVER
|
---|
520 | #
|
---|
521 | # Get the extension pack from from the build server to facility the automatic
|
---|
522 | # testing (everything in one tarball (VBoxAll-*)).
|
---|
523 | #
|
---|
524 | # Note! Using the plural here as we might be downloading more packages eventually.
|
---|
525 | #
|
---|
526 | INSTALLS += buildserver-extpacks
|
---|
527 | buildserver-extpacks_INST = $(INST_DIST)
|
---|
528 | buildserver-extpacks_MODE = 0644
|
---|
529 | buildserver-extpacks_SOURCES = \
|
---|
530 | $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
|
---|
531 | buildserver-extpacks_CLEANS = \
|
---|
532 | $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack \
|
---|
533 | $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack.tmp
|
---|
534 |
|
---|
535 | $$(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack: \
|
---|
536 | $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/extpacks.sh | $$(dir $$@)
|
---|
537 | $(RM) -f -- "$@.tmp" "$@"
|
---|
538 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/extpacks.sh --cmd fetch --filename "$@.tmp" --vbox-version "$(VBOX_VERSION_STRING_NO_PUB)" \
|
---|
539 | $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
540 | $(MV) -f -- "$@.tmp" "$@"
|
---|
541 | $(TOUCH) -- "$@"
|
---|
542 |
|
---|
543 | endif
|
---|
544 |
|
---|
545 |
|
---|
546 | #
|
---|
547 | # Install staged binaries on platforms where we can't cross
|
---|
548 | # compile things.
|
---|
549 | #
|
---|
550 | ifn1of ($(KBUILD_TARGET), linux win)
|
---|
551 | VBOX_PATH_STAGED ?= .
|
---|
552 |
|
---|
553 | # Additions.
|
---|
554 | ifndef VBOX_WITH_LINUX_ADDITIONS
|
---|
555 | ifndef VBOX_WITH_WIN32_ADDITIONS
|
---|
556 | ifneq ($(wildcard $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso),)
|
---|
557 | INSTALLS += staged-additions
|
---|
558 | staged-additions_INST = $(INST_ADDITIONS_ISO)
|
---|
559 | staged-additions_MODE = 0644
|
---|
560 | staged-additions_SOURCES = $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso
|
---|
561 | endif
|
---|
562 | endif
|
---|
563 | endif
|
---|
564 |
|
---|
565 | # guesttool.exe
|
---|
566 | ifndef VBOX_WITH_WIN32_ADDITIONS
|
---|
567 | ifneq ($(wildcard $(VBOX_PATH_STAGED)/guesttool.exe),)
|
---|
568 | INSTALLS += staged-guesttool
|
---|
569 | staged-guesttool_INST = $(INST_BIN)
|
---|
570 | staged-guesttool_SOURCES = $(VBOX_PATH_STAGED)/guesttool.exe
|
---|
571 | endif
|
---|
572 | endif
|
---|
573 |
|
---|
574 | endif
|
---|
575 |
|
---|
576 | endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS && !VBOX_ONLY_EXTPACKS && !VBOX_ONLY_VALIDATIONKIT
|
---|
577 |
|
---|
578 |
|
---|
579 | ifdef VBOX_ONLY_DOCS
|
---|
580 | # It may sound a bit odd, but for preparing the documentation package the
|
---|
581 | # doxygen documentation isn't needed and increases the build time a lot.
|
---|
582 | docs:
|
---|
583 | else # !VBOX_ONLY_DOCS
|
---|
584 | #
|
---|
585 | # Generate documentation.
|
---|
586 | # (This should be converted into a separate pass or merged with an existing one later.)
|
---|
587 | #
|
---|
588 | ifdef VBOX_WITH_ALL_DOXYGEN_TARGETS
|
---|
589 | docs: docs.Core
|
---|
590 | else
|
---|
591 | docs:
|
---|
592 | endif
|
---|
593 | endif # !VBOX_ONLY_DOCS
|
---|
594 |
|
---|
595 | #
|
---|
596 | # The core (VMM+Devices+Main) documentation.
|
---|
597 | #
|
---|
598 | # This includes so much because we wish to have the complete CFGM
|
---|
599 | # and GCFGM lists.
|
---|
600 | #
|
---|
601 | VBOX_CORE_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/Core
|
---|
602 | BLDDIRS += $(VBOX_CORE_DOXYFILE_OUTPUT)
|
---|
603 | OTHER_CLEAN += \
|
---|
604 | $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core \
|
---|
605 | $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core.dep
|
---|
606 |
|
---|
607 | VBOX_CORE_DOXYFILE_INPUT_DIRS = \
|
---|
608 | include/iprt \
|
---|
609 | include/iprt/cpp \
|
---|
610 | include/iprt/crypto \
|
---|
611 | include/iprt/formats \
|
---|
612 | include/iprt/linux \
|
---|
613 | include/iprt/nt \
|
---|
614 | include/iprt/solaris \
|
---|
615 | include/iprt/win \
|
---|
616 | include/iprt/nocrt \
|
---|
617 | include/VBox \
|
---|
618 | include/VBox/vmm \
|
---|
619 | include/VBox/com \
|
---|
620 | include/VBox/ExtPack \
|
---|
621 | include/VBox/HostServices \
|
---|
622 | include/VBox/GuestHost \
|
---|
623 | include/VBox/HGSMI \
|
---|
624 | src/VBox/VMM \
|
---|
625 | src/VBox/VMM/VMMR0 \
|
---|
626 | src/VBox/VMM/VMMRC \
|
---|
627 | src/VBox/VMM/VMMR3 \
|
---|
628 | src/VBox/VMM/VMMAll \
|
---|
629 | src/VBox/VMM/VMMSwitcher \
|
---|
630 | src/VBox/VMM/include \
|
---|
631 | src/VBox/Debugger \
|
---|
632 | src/VBox/Devices \
|
---|
633 | src/VBox/Devices/Audio \
|
---|
634 | src/VBox/Devices/Bus \
|
---|
635 | src/VBox/Devices/Graphics \
|
---|
636 | src/VBox/Devices/Graphics/BIOS \
|
---|
637 | src/VBox/Devices/Graphics/shaderlib \
|
---|
638 | src/VBox/Devices/Input \
|
---|
639 | src/VBox/Devices/Networking \
|
---|
640 | src/VBox/Devices/PC \
|
---|
641 | src/VBox/Devices/PC/BIOS \
|
---|
642 | src/VBox/Devices/Parallel \
|
---|
643 | src/VBox/Devices/Serial \
|
---|
644 | src/VBox/Devices/Storage \
|
---|
645 | src/VBox/Devices/USB \
|
---|
646 | src/VBox/Devices/USB/darwin \
|
---|
647 | src/VBox/Devices/USB/linux \
|
---|
648 | src/VBox/Devices/USB/os2 \
|
---|
649 | src/VBox/Devices/USB/solaris \
|
---|
650 | src/VBox/Devices/USB/vrdp \
|
---|
651 | src/VBox/Devices/USB/win32 \
|
---|
652 | src/VBox/Devices/VMMDev \
|
---|
653 | src/VBox/Main/include \
|
---|
654 | src/VBox/Main/include/hgcm \
|
---|
655 | src/VBox/Main \
|
---|
656 | src/VBox/Main/glue \
|
---|
657 | src/VBox/Main/webservice \
|
---|
658 | src/VBox/Main/xml \
|
---|
659 | src/VBox/Main/src-all \
|
---|
660 | src/VBox/Main/src-all/win \
|
---|
661 | src/VBox/Main/src-client \
|
---|
662 | src/VBox/Main/src-client/win \
|
---|
663 | src/VBox/Main/src-client/xpcom \
|
---|
664 | src/VBox/Main/src-server \
|
---|
665 | src/VBox/Main/src-server/darwin \
|
---|
666 | src/VBox/Main/src-server/linux \
|
---|
667 | src/VBox/Main/src-server/os2 \
|
---|
668 | src/VBox/Main/src-server/solaris \
|
---|
669 | src/VBox/Main/src-server/win \
|
---|
670 | src/VBox/Main/src-server/xpcom \
|
---|
671 | src/VBox/HostServices \
|
---|
672 | src/VBox/HostServices/DragAndDrop \
|
---|
673 | src/VBox/HostServices/GuestControl \
|
---|
674 | src/VBox/HostServices/GuestProperties \
|
---|
675 | src/VBox/HostServices/SharedClipboard \
|
---|
676 | src/VBox/HostServices/SharedFolders \
|
---|
677 | src/VBox/HostServices/SharedOpenGL \
|
---|
678 | src/VBox/HostServices/SharedOpenGL/crserver \
|
---|
679 | src/VBox/HostServices/SharedOpenGL/crserverlib \
|
---|
680 | src/VBox/HostServices/SharedOpenGL/render \
|
---|
681 | src/VBox/HostServices/SharedOpenGL/unpacker \
|
---|
682 | src/VBox/HostServices/auth \
|
---|
683 | src/VBox/HostServices/auth/directoryservice \
|
---|
684 | src/VBox/HostServices/auth/pam \
|
---|
685 | src/VBox/HostServices/auth/simple \
|
---|
686 | src/VBox/HostServices/auth/winlogon \
|
---|
687 | src/VBox/HostDrivers/Support \
|
---|
688 | src/VBox/HostDrivers/Support/darwin \
|
---|
689 | src/VBox/HostDrivers/Support/freebsd \
|
---|
690 | src/VBox/HostDrivers/Support/linux \
|
---|
691 | src/VBox/HostDrivers/Support/os2 \
|
---|
692 | src/VBox/HostDrivers/Support/solaris \
|
---|
693 | src/VBox/HostDrivers/Support/win \
|
---|
694 | src/VBox/HostDrivers/VBoxNetFlt \
|
---|
695 | src/VBox/HostDrivers/VBoxNetFlt/darwin \
|
---|
696 | src/VBox/HostDrivers/VBoxNetFlt/linux \
|
---|
697 | src/VBox/HostDrivers/VBoxNetFlt/solaris \
|
---|
698 | src/VBox/HostDrivers/VBoxNetFlt/win \
|
---|
699 | src/VBox/HostDrivers/VBoxNetNat \
|
---|
700 | src/VBox/HostDrivers/VBoxNetNat/darwin \
|
---|
701 | src/VBox/HostDrivers/VBoxNetNat/linux \
|
---|
702 | src/VBox/HostDrivers/VBoxNetNat/solaris \
|
---|
703 | src/VBox/HostDrivers/VBoxNetNat/win \
|
---|
704 | src/VBox/HostDrivers/VBoxNetAdp \
|
---|
705 | src/VBox/HostDrivers/VBoxNetAdp/darwin \
|
---|
706 | src/VBox/HostDrivers/VBoxNetAdp/linux \
|
---|
707 | src/VBox/HostDrivers/VBoxNetAdp/solaris \
|
---|
708 | src/VBox/HostDrivers/VBoxNetAdp/win \
|
---|
709 | src/VBox/HostDrivers/VBoxPci \
|
---|
710 | src/VBox/HostDrivers/VBoxPci/darwin \
|
---|
711 | src/VBox/HostDrivers/VBoxPci/linux \
|
---|
712 | src/VBox/HostDrivers/VBoxPci/solaris \
|
---|
713 | src/VBox/HostDrivers/VBoxPci/win \
|
---|
714 | src/VBox/HostDrivers/VBoxUSB \
|
---|
715 | src/VBox/HostDrivers/VBoxUSB/darwin \
|
---|
716 | src/VBox/HostDrivers/VBoxUSB/os2 \
|
---|
717 | src/VBox/HostDrivers/VBoxUSB/solaris \
|
---|
718 | src/VBox/HostDrivers/VBoxUSB/win \
|
---|
719 | src/VBox/HostDrivers/VBoxUSB/win/Device \
|
---|
720 | src/VBox/HostDrivers/VBoxUSB/win/Device/amd64 \
|
---|
721 | src/VBox/HostDrivers/VBoxUSB/win/Device/x86 \
|
---|
722 | src/VBox/HostDrivers/VBoxUSB/win/Filter \
|
---|
723 | src/VBox/HostDrivers/VBoxUSB/win/Install \
|
---|
724 | src/VBox/HostDrivers/VBoxUSB/win/Monitor \
|
---|
725 | src/VBox/HostDrivers/VBoxUSB/win/Monitor/win32 \
|
---|
726 | src/VBox/HostDrivers/VBoxUSB/win/Monitor/win64 \
|
---|
727 | src/VBox/HostDrivers/VBoxUSB/win/usbd \
|
---|
728 | src/VBox/Additions \
|
---|
729 | src/VBox/Additions/WINNT \
|
---|
730 | src/VBox/Additions/WINNT/Graphics \
|
---|
731 | src/VBox/Additions/WINNT/Graphics/Video \
|
---|
732 | src/VBox/Additions/WINNT/Graphics/Video/common \
|
---|
733 | src/VBox/Additions/WINNT/Graphics/Video/common/wddm \
|
---|
734 | src/VBox/Additions/WINNT/Graphics/Video/common/xpdm \
|
---|
735 | src/VBox/Additions/WINNT/Graphics/Video/disp \
|
---|
736 | src/VBox/Additions/WINNT/Graphics/Video/disp/common \
|
---|
737 | src/VBox/Additions/WINNT/Graphics/Video/disp/wddm \
|
---|
738 | src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dbg \
|
---|
739 | src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm \
|
---|
740 | src/VBox/Additions/WINNT/Graphics/Video/mp \
|
---|
741 | src/VBox/Additions/WINNT/Graphics/Video/mp/common \
|
---|
742 | src/VBox/Additions/WINNT/Graphics/Video/mp/wddm \
|
---|
743 | src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm \
|
---|
744 | src/VBox/Additions/WINNT/Graphics/Wine_new \
|
---|
745 | src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8 \
|
---|
746 | src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9 \
|
---|
747 | src/VBox/Additions/WINNT/Graphics/Wine_new/libWine \
|
---|
748 | src/VBox/Additions/WINNT/Graphics/Wine_new/switcher \
|
---|
749 | src/VBox/Additions/WINNT/Graphics/Wine_new/vbox \
|
---|
750 | src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d \
|
---|
751 | src/VBox/Additions/WINNT/Installer \
|
---|
752 | src/VBox/Additions/WINNT/Installer/ISO \
|
---|
753 | src/VBox/Additions/WINNT/Installer/InstallHelper \
|
---|
754 | src/VBox/Additions/WINNT/Installer/Languages \
|
---|
755 | src/VBox/Additions/WINNT/Installer/Loader \
|
---|
756 | src/VBox/Additions/WINNT/Mouse \
|
---|
757 | src/VBox/Additions/WINNT/Mouse/NT5 \
|
---|
758 | src/VBox/Additions/WINNT/Mouse/common \
|
---|
759 | src/VBox/Additions/WINNT/SharedFolders \
|
---|
760 | src/VBox/Additions/WINNT/SharedFolders/redirector \
|
---|
761 | src/VBox/Additions/WINNT/SharedFolders/redirector/dll \
|
---|
762 | src/VBox/Additions/WINNT/SharedFolders/redirector/sys \
|
---|
763 | src/VBox/Additions/WINNT/SharedFolders/redirector/sys/rdbss \
|
---|
764 | src/VBox/Additions/WINNT/VBoxCredProv \
|
---|
765 | src/VBox/Additions/WINNT/VBoxGINA \
|
---|
766 | src/VBox/Additions/WINNT/VBoxHook \
|
---|
767 | src/VBox/Additions/WINNT/VBoxTray \
|
---|
768 | src/VBox/Additions/WINNT/VBoxUSB \
|
---|
769 | src/VBox/Additions/WINNT/i8042prt \
|
---|
770 | src/VBox/Additions/WINNT/i8042prt/i386 \
|
---|
771 | src/VBox/Additions/WINNT/i8042prt/include \
|
---|
772 | src/VBox/Additions/WINNT/include \
|
---|
773 | src/VBox/Additions/common \
|
---|
774 | src/VBox/Additions/common/VBoxControl \
|
---|
775 | src/VBox/Additions/common/VBoxGuest \
|
---|
776 | src/VBox/Additions/common/VBoxGuest/freebsd \
|
---|
777 | src/VBox/Additions/common/VBoxGuest/linux \
|
---|
778 | src/VBox/Additions/common/VBoxGuest/win \
|
---|
779 | src/VBox/Additions/common/VBoxGuestLib \
|
---|
780 | src/VBox/Additions/common/VBoxService \
|
---|
781 | src/VBox/Additions/common/VBoxVideo \
|
---|
782 | src/VBox/Additions/common/crOpenGL \
|
---|
783 | src/VBox/Additions/common/crOpenGL/array \
|
---|
784 | src/VBox/Additions/common/crOpenGL/feedback \
|
---|
785 | src/VBox/Additions/common/crOpenGL/pack \
|
---|
786 | src/VBox/Additions/common/crOpenGL/passthrough \
|
---|
787 | src/VBox/Additions/common/pam \
|
---|
788 | src/VBox/Additions/darwin \
|
---|
789 | src/VBox/Additions/freebsd \
|
---|
790 | src/VBox/Additions/freebsd/Installer \
|
---|
791 | src/VBox/Additions/freebsd/drm \
|
---|
792 | src/VBox/Additions/freebsd/vboxvfs \
|
---|
793 | src/VBox/Additions/linux \
|
---|
794 | src/VBox/Additions/linux/drm \
|
---|
795 | src/VBox/Additions/linux/installer \
|
---|
796 | src/VBox/Additions/linux/selinux-fedora \
|
---|
797 | src/VBox/Additions/linux/sharedfolders \
|
---|
798 | src/VBox/Additions/os2 \
|
---|
799 | src/VBox/Additions/os2/VBoxGradd \
|
---|
800 | src/VBox/Additions/os2/VBoxGradd/graddlib \
|
---|
801 | src/VBox/Additions/os2/VBoxGrext \
|
---|
802 | src/VBox/Additions/os2/VBoxMouse \
|
---|
803 | src/VBox/Additions/os2/VBoxSF \
|
---|
804 | src/VBox/Additions/solaris \
|
---|
805 | src/VBox/Additions/solaris/DRM \
|
---|
806 | src/VBox/Additions/solaris/Installer \
|
---|
807 | src/VBox/Additions/solaris/SharedFolders \
|
---|
808 | src/VBox/Additions/solaris/SharedFolders/solaris10 \
|
---|
809 | src/VBox/Additions/solaris/SharedFolders/solaris10/sys \
|
---|
810 | src/VBox/Additions/solaris/Virtio \
|
---|
811 | src/VBox/Additions/x11 \
|
---|
812 | src/VBox/Additions/x11/Installer \
|
---|
813 | src/VBox/Additions/x11/VBoxClient \
|
---|
814 | src/VBox/Additions/x11/vboxmouse \
|
---|
815 | src/VBox/Additions/x11/vboxmouse/xorg70 \
|
---|
816 | src/VBox/Additions/x11/vboxmouse/xorg71 \
|
---|
817 | src/VBox/Additions/x11/vboxvideo \
|
---|
818 | src/VBox/NetworkServices \
|
---|
819 | src/VBox/NetworkServices/Dhcpd \
|
---|
820 | src/VBox/NetworkServices/NAT \
|
---|
821 | src/VBox/NetworkServices/NetLib \
|
---|
822 | src/VBox/Storage \
|
---|
823 | src/VBox/ValidationKit/ \
|
---|
824 | src/VBox/ValidationKit/docs/ \
|
---|
825 | src/VBox/ValidationKit/testdriver/ \
|
---|
826 | src/VBox/ValidationKit/bootsectors/ \
|
---|
827 | src/VBox/ValidationKit/bootsectors/bs3kit/ \
|
---|
828 | src/VBox/ValidationKit/tests/ \
|
---|
829 | src/VBox/ValidationKit/tests/additions/ \
|
---|
830 | src/VBox/ValidationKit/tests/api/ \
|
---|
831 | src/VBox/ValidationKit/tests/autostart/ \
|
---|
832 | src/VBox/ValidationKit/tests/benchmarks/ \
|
---|
833 | src/VBox/ValidationKit/tests/cpu/ \
|
---|
834 | src/VBox/ValidationKit/tests/installation/ \
|
---|
835 | src/VBox/ValidationKit/tests/network/ \
|
---|
836 | src/VBox/ValidationKit/tests/selftests/ \
|
---|
837 | src/VBox/ValidationKit/tests/smoketests/ \
|
---|
838 | src/VBox/ValidationKit/tests/storage/ \
|
---|
839 | src/VBox/ValidationKit/tests/teleportation/ \
|
---|
840 | src/VBox/ValidationKit/tests/unittests/ \
|
---|
841 | src/VBox/ValidationKit/tests/usb/ \
|
---|
842 | src/VBox/ValidationKit/common/ \
|
---|
843 | src/VBox/ValidationKit/utils/ \
|
---|
844 | src/VBox/ValidationKit/utils/TestExecServ/ \
|
---|
845 | src/VBox/ValidationKit/utils/cpu/ \
|
---|
846 | src/VBox/ValidationKit/utils/misc/ \
|
---|
847 | src/VBox/ValidationKit/utils/network/ \
|
---|
848 | src/VBox/ValidationKit/utils/nt/ \
|
---|
849 | src/VBox/ValidationKit/utils/usb/ \
|
---|
850 | src/VBox/ValidationKit/vms/ \
|
---|
851 | src/VBox/ValidationKit/testmanager/ \
|
---|
852 | src/VBox/ValidationKit/testmanager/core/ \
|
---|
853 | src/VBox/ValidationKit/testmanager/db/ \
|
---|
854 | src/VBox/ValidationKit/testmanager/debug/ \
|
---|
855 | src/VBox/ValidationKit/testmanager/cgi/ \
|
---|
856 | src/VBox/ValidationKit/testmanager/webui/ \
|
---|
857 | src/VBox/ValidationKit/testboxscript/ \
|
---|
858 |
|
---|
859 | # These must come first in order to make things look nice.
|
---|
860 | VBOX_CORE_DOXYFILE_INPUT_FIRST =\
|
---|
861 | $(PATH_ROOT)/doc/VBox-doc.c \
|
---|
862 | $(PATH_ROOT)/doc/VBox-CodingGuidelines.cpp \
|
---|
863 | $(PATH_ROOT)/doc/VBox-MakefileGuidelines.cpp \
|
---|
864 | $(PATH_ROOT)/src/VBox/VMM/Docs-CodingGuidelines.cpp \
|
---|
865 | $(PATH_ROOT)/src/VBox/VMM/Docs-RawMode.cpp \
|
---|
866 | $(PATH_ROOT)/include/VBox/cdefs.h \
|
---|
867 | $(PATH_ROOT)/include/VBox/vmm/vmm.h \
|
---|
868 | $(PATH_ROOT)/include/VBox/vmm/vmapi.h \
|
---|
869 | $(PATH_ROOT)/include/VBox/vmm/cpum.h \
|
---|
870 | $(PATH_ROOT)/include/VBox/vmm/mm.h \
|
---|
871 | $(PATH_ROOT)/include/VBox/vmm/pgm.h \
|
---|
872 | $(PATH_ROOT)/include/VBox/vmm/selm.h \
|
---|
873 | $(PATH_ROOT)/include/VBox/vmm/trpm.h \
|
---|
874 | $(PATH_ROOT)/include/VBox/vmm/dbgf.h \
|
---|
875 | $(PATH_ROOT)/include/VBox/vmm/stam.h \
|
---|
876 | $(PATH_ROOT)/include/VBox/vmm/em.h \
|
---|
877 | $(PATH_ROOT)/include/VBox/vmm/hm.h \
|
---|
878 | $(PATH_ROOT)/include/VBox/vmm/hm_svm.h \
|
---|
879 | $(PATH_ROOT)/include/VBox/vmm/hm_vmx.h \
|
---|
880 | $(PATH_ROOT)/include/VBox/vmm/iem.h \
|
---|
881 | $(PATH_ROOT)/include/VBox/vmm/nem.h \
|
---|
882 | $(PATH_ROOT)/include/VBox/vmm/pdm.h \
|
---|
883 | $(PATH_ROOT)/include/VBox/vmm/pdmifs.h \
|
---|
884 | $(PATH_ROOT)/include/VBox/vmm/pdmaudioifs.h \
|
---|
885 | $(PATH_ROOT)/include/VBox/vmm/pdmnetifs.h \
|
---|
886 | $(PATH_ROOT)/include/VBox/vmm/pdmserialifs.h \
|
---|
887 | $(PATH_ROOT)/include/VBox/vmm/pdmstorageifs.h \
|
---|
888 | $(PATH_ROOT)/include/VBox/vmm/iom.h \
|
---|
889 | $(PATH_ROOT)/include/VBox/vmm/cfgm.h \
|
---|
890 | $(PATH_ROOT)/include/VBox/vmm/gim.h \
|
---|
891 | $(PATH_ROOT)/include/VBox/vmm/tm.h \
|
---|
892 | $(PATH_ROOT)/include/VBox/vmm/ssm.h \
|
---|
893 | \
|
---|
894 | $(PATH_ROOT)/src/VBox/VMM/include/CFGMInternal.h \
|
---|
895 | $(PATH_ROOT)/src/VBox/VMM/include/CPUMInternal.h \
|
---|
896 | $(PATH_ROOT)/src/VBox/VMM/include/DBGFInternal.h \
|
---|
897 | $(PATH_ROOT)/src/VBox/VMM/include/EMInternal.h \
|
---|
898 | $(PATH_ROOT)/src/VBox/VMM/include/HMInternal.h \
|
---|
899 | $(PATH_ROOT)/src/VBox/VMM/include/IEMInternal.h \
|
---|
900 | $(PATH_ROOT)/src/VBox/VMM/include/IOMInternal.h \
|
---|
901 | $(PATH_ROOT)/src/VBox/VMM/include/MMInternal.h \
|
---|
902 | $(PATH_ROOT)/src/VBox/VMM/include/NEMInternal.h \
|
---|
903 | $(PATH_ROOT)/src/VBox/VMM/include/PDMInternal.h \
|
---|
904 | $(PATH_ROOT)/src/VBox/VMM/include/PGMInternal.h \
|
---|
905 | $(PATH_ROOT)/src/VBox/VMM/include/GIMInternal.h \
|
---|
906 | $(PATH_ROOT)/src/VBox/VMM/include/SELMInternal.h \
|
---|
907 | $(PATH_ROOT)/src/VBox/VMM/include/SSMInternal.h \
|
---|
908 | $(PATH_ROOT)/src/VBox/VMM/include/STAMInternal.h \
|
---|
909 | $(PATH_ROOT)/src/VBox/VMM/include/TMInternal.h \
|
---|
910 | $(PATH_ROOT)/src/VBox/VMM/include/TRPMInternal.h \
|
---|
911 | $(PATH_ROOT)/src/VBox/VMM/include/VMInternal.h \
|
---|
912 | $(PATH_ROOT)/src/VBox/VMM/include/VMMInternal.h \
|
---|
913 | \
|
---|
914 | $(PATH_ROOT)/include/VBox/vmm/vm.h \
|
---|
915 | \
|
---|
916 | $(PATH_ROOT)/include/VBox/sup.h \
|
---|
917 | $(PATH_ROOT)/include/VBox/vd.h \
|
---|
918 | $(PATH_ROOT)/include/VBox/types.h \
|
---|
919 | $(PATH_ROOT)/include/VBox/err.h \
|
---|
920 | $(PATH_ROOT)/include/VBox/vmm/cpumdis.h \
|
---|
921 | $(PATH_ROOT)/include/VBox/dbggui.h \
|
---|
922 | $(PATH_ROOT)/include/VBox/dis.h \
|
---|
923 | $(PATH_ROOT)/include/VBox/disopcode.h \
|
---|
924 | $(PATH_ROOT)/include/VBox/intnet.h \
|
---|
925 | $(PATH_ROOT)/include/VBox/settings.h \
|
---|
926 | $(PATH_ROOT)/include/VBox/pci.h \
|
---|
927 | $(PATH_ROOT)/include/VBox/scsi.h \
|
---|
928 | $(PATH_ROOT)/include/VBox/shflsvc.h \
|
---|
929 | $(PATH_ROOT)/include/VBox/hgcmsvc.h \
|
---|
930 | $(PATH_ROOT)/include/VBox/usb.h \
|
---|
931 | $(PATH_ROOT)/include/VBox/vusb.h \
|
---|
932 | \
|
---|
933 | $(PATH_ROOT)/include/VBox/log.h \
|
---|
934 | $(PATH_ROOT)/include/VBox/param.h \
|
---|
935 | $(PATH_ROOT)/include/VBox/version.h \
|
---|
936 | \
|
---|
937 | $(PATH_ROOT)/include/VBox/com/com.h \
|
---|
938 | $(PATH_ROOT)/include/VBox/com/utils.h
|
---|
939 |
|
---|
940 | VBOX_CORE_DOXYFILE_INPUT := \
|
---|
941 | $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(VBOX_CORE_DOXYFILE_INPUT_DIRS)))) ) \
|
---|
942 | $(foreach dir, $(VBOX_CORE_DOXYFILE_INPUT_DIRS) \
|
---|
943 | , $(wildcard $(dir)/*.cpp $(dir)/*.c $(dir)/*.m $(dir)/*.mm $(dir)/*.py $(dir)/.asm))
|
---|
944 | VBOX_CORE_DOXYFILE_INPUT := \
|
---|
945 | $(VBOX_CORE_DOXYFILE_INPUT_FIRST) \
|
---|
946 | $(sort $(filter-out $(VBOX_CORE_DOXYFILE_INPUT_FIRST), $(VBOX_CORE_DOXYFILE_INPUT)))
|
---|
947 |
|
---|
948 | VBOX_CORE_DOXYFILE_INPUT += \
|
---|
949 | $(wildcard $(PATH_ROOT)/src/VBox/VMM/VMMAll/*.h $(PATH_ROOT)/src/VBox/VMM/VMMR3/*.h $(PATH_ROOT)/src/VBox/VMM/VMMR0/*.h )
|
---|
950 |
|
---|
951 |
|
---|
952 | includedep $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core.dep
|
---|
953 |
|
---|
954 | # Generate the Doxyfile
|
---|
955 | $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core: Doxyfile.Core \
|
---|
956 | $(comp-vars VBOX_CORE_DOXYFILE_INPUT,DOXYGEN_CORE_INPUT_PREV,FORCE) \
|
---|
957 | $(comp-vars VBOX_CORE_DOXYFILE_OUTPUT,DOXYGEN_CORE_OUTPUT_PREV,FORCE) \
|
---|
958 | | $$(dir $$@)
|
---|
959 | $(QUIET)$(RM) -f $@ $@.tmp $@.dep
|
---|
960 | $(QUIET)$(CP) -f Doxyfile.Core $@.tmp
|
---|
961 | $(QUIET)$(APPEND) $@.tmp
|
---|
962 | $(QUIET)$(APPEND) $@.tmp "OUTPUT_DIRECTORY = $(VBOX_CORE_DOXYFILE_OUTPUT)"
|
---|
963 | $(QUIET)$(APPEND) $@.tmp "WARN_LOGFILE = $(VBOX_CORE_DOXYFILE_OUTPUT)/errors"
|
---|
964 | $(QUIET)$(APPEND) $@.tmp "INCLUDE_PATH = $(PATH_ROOT)/include $(PATH_ROOT)/src/VBox/VMM $(PATH_ROOT)/src/VBox/Main/include "
|
---|
965 | $(QUIET)$(APPEND) $@.tmp "INCLUDE_FILE_PATTERNS = *.cpp.h"
|
---|
966 | $(QUIET)$(APPEND) $@.tmp "EXCLUDE = " \
|
---|
967 | "$(PATH_ROOT)/src/VBox/Additions/common/crOpenGL/utils.c" \
|
---|
968 | "$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserver/main.c" \
|
---|
969 | "$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c" \
|
---|
970 | "$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_arrays.c" \
|
---|
971 | "$(PATH_ROOT)/src/VBox/Additions/common/crOpenGL/context.c"
|
---|
972 | $(QUIET)$(APPEND) $@.tmp
|
---|
973 | $(QUIET)$(APPEND) $@.tmp 'INPUT = $(foreach x,$(VBOX_CORE_DOXYFILE_INPUT),\$(NLTAB)$(x))'
|
---|
974 | $(QUIET)$(APPEND) $@.tmp
|
---|
975 | $(QUIET)$(APPEND) $@.tmp "PREDEFINED += $(DEFS) $(DEFS.$(KBUILD_TARGET)) $(DEFS.$(KBUILD_TARGET_ARCH)) $(ARCH_BITS_DEFS)"
|
---|
976 | $(QUIET)$(APPEND) $@.tmp "PREDEFINED += ARCH_BITS=HC_ARCH_BITS R3_ARCH_BITS=HC_ARCH_BITS R0_ARCH_BITS=HC_ARCH_BITS "
|
---|
977 | $(QUIET)$(APPEND) $@.tmp
|
---|
978 | $(QUIET)$(APPEND) $@.tmp "PLANTUML_JAR_PATH = $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS)/common/plantuml/v*/plantuml*.jar)))"
|
---|
979 | $(QUIET)$(APPEND) $@.tmp
|
---|
980 | $(QUIET)$(MV) -f $@.tmp $@
|
---|
981 | @$(APPEND) $@.dep "DOXYGEN_CORE_OUTPUT_PREV = $(VBOX_CORE_DOXYFILE_OUTPUT)"
|
---|
982 | @$(APPEND) $@.dep "DOXYGEN_CORE_INPUT_PREV = $(VBOX_CORE_DOXYFILE_INPUT)"
|
---|
983 |
|
---|
984 | # Do the actual job.
|
---|
985 | # Note! We must add the VBOX_JAVA dir to the path so doxygen can run plantuml.jar.
|
---|
986 | $(VBOX_CORE_DOXYFILE_OUTPUT)/docs.Core: $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core $$(VBOX_CORE_DOXYFILE_INPUT) \
|
---|
987 | | $(VBOX_CORE_DOXYFILE_OUTPUT)/
|
---|
988 | $(QUIET)$(RM) -f $@
|
---|
989 | $(QUIET)$(RM) -Rf $(VBOX_CORE_DOXYFILE_OUTPUT)/html/
|
---|
990 | $(if-expr $(VBOX_JAVA_VERSION)+0 >= 70000, $(REDIRECT) -E "PATH=$(VBOX_JAVA_BIN_PATH)$(HOST_PATH_SEP)$(PATH)" --,) \
|
---|
991 | doxygen $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core
|
---|
992 | $(SED) -n \
|
---|
993 | -e ':nextwarning' \
|
---|
994 | -e '/^ *$(DOLLAR)/d' \
|
---|
995 | -e '/\/src\/VBox\/Main\/.* warning: documented symbol.*::~.* was not declared or defined/b ignore' \
|
---|
996 | -e '/\/src\/VBox\/Main\/.* warning: explicit link request to.* could not be resolved/b ignore' \
|
---|
997 | -e '/\/src\/VBox\/Additions\/common\/crOpenGL\/.* warning/b ignore' \
|
---|
998 | -e '/\/src\/VBox\/Additions\/x11\/VBoxClient\/seamless-x11\.h.* warning/b ignore' \
|
---|
999 | -e '/\/src\/VBox\/HostDrivers\/Support\/win\/SUPR3HardenedMain-win\.cpp.* warning/b ignore' \
|
---|
1000 | -e '/\/src\/VBox\/ValidationKit\/.* warning/b ignore' \
|
---|
1001 | \
|
---|
1002 | -e '/unable to resolve link to .dtrace_pops_t./b ignore' \
|
---|
1003 | \
|
---|
1004 | -e 'b end' \
|
---|
1005 | -e ':ignore' \
|
---|
1006 | -e 'n' \
|
---|
1007 | -e '/^[[:space:]]/b ignore' \
|
---|
1008 | -e '/^Possible candidates/b ignore' \
|
---|
1009 | -e '/^def testmanager::webui::wuicontentbase::__init__/b ignore' \
|
---|
1010 | -e 'b nextwarning' \
|
---|
1011 | -e ':end' \
|
---|
1012 | -e 'p' \
|
---|
1013 | --output $(VBOX_CORE_DOXYFILE_OUTPUT)/errors2 \
|
---|
1014 | $(VBOX_CORE_DOXYFILE_OUTPUT)/errors
|
---|
1015 | $(CAT) $(VBOX_CORE_DOXYFILE_OUTPUT)/errors2
|
---|
1016 | $(SED) -e "/[^ ]/q 1" $(VBOX_CORE_DOXYFILE_OUTPUT)/errors2
|
---|
1017 | $(APPEND) $@
|
---|
1018 |
|
---|
1019 | docs.Core docs.core: $(VBOX_CORE_DOXYFILE_OUTPUT)/docs.Core
|
---|
1020 |
|
---|
1021 | #
|
---|
1022 | # This is a bit odd, but we attach the optional scm check run onto the 'docs' pass
|
---|
1023 | # so the build box output is less confusing on failure.
|
---|
1024 | #
|
---|
1025 | ifeq ($(KBUILD_HOST),$(KBUILD_TARGET))
|
---|
1026 | ifdef VBOX_WITH_SCM_CHECK_RUN
|
---|
1027 | docs: scm.check.run
|
---|
1028 | endif
|
---|
1029 | .PHONY: scm.check.run
|
---|
1030 | scm.check.run: $(VBOX_PATH_TOOLS)/scm$(HOSTSUFF_EXE)
|
---|
1031 | $(REDIRECT) -E VBOX_LOG_FLAGS="disabled" -E VBOX_LOG_DEST="nofile" \
|
---|
1032 | $(if-expr "$(KBUILD_HOST)" == "darwin",-E DYLD_FALLBACK_LIBRARY_PATH="$(VBOX_PATH_TOOLS)/..",) -- \
|
---|
1033 | $(VBOX_PATH_TOOLS)/scm$(HOSTSUFF_EXE) -qvv --check-run $(PATH_ROOT)
|
---|
1034 | endif
|
---|
1035 |
|
---|
1036 |
|
---|
1037 | #
|
---|
1038 | # Combined package build (windows only).
|
---|
1039 | #
|
---|
1040 | # The combined package is created by the x86 environment, so we do the amd64
|
---|
1041 | # packaging in the build phase since it's just a few very slow jobs. We hold
|
---|
1042 | # back the x86 build until the amd64 packaging starts, to try encourage
|
---|
1043 | # parallel execution.
|
---|
1044 | #
|
---|
1045 | # Note! VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER=1 is required because the additions
|
---|
1046 | # packing must be done in amd64 mode as it picks files from the x86 build.
|
---|
1047 | #
|
---|
1048 |
|
---|
1049 | VBOX_COMBINED_PACKAGE_DEFS := \
|
---|
1050 | VBOX_WITH_COMBINED_PACKAGE=1 \
|
---|
1051 | VBOX_WITH_ALL_DOXYGEN_TARGETS= \
|
---|
1052 | VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER=1
|
---|
1053 |
|
---|
1054 | combined-package-fetch:
|
---|
1055 | + $(KMK) -C tools $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=amd64
|
---|
1056 | + $(KMK) -C tools $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=x86
|
---|
1057 |
|
---|
1058 | combined-package-build-amd64:
|
---|
1059 | + $(KMK) docs all $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=amd64
|
---|
1060 |
|
---|
1061 | combined-package-build-amd64-packing: combined-package-build-amd64
|
---|
1062 | + $(KMK) packing $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=amd64
|
---|
1063 |
|
---|
1064 | combined-package-build-x86: combined-package-build-amd64
|
---|
1065 | + $(KMK) docs all $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=x86
|
---|
1066 |
|
---|
1067 | combined-package-build: combined-package-build-amd64-packing combined-package-build-x86
|
---|
1068 |
|
---|
1069 | combined-package-packing:
|
---|
1070 | + $(KMK) packing $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=x86
|
---|
1071 |
|
---|
1072 |
|
---|
1073 |
|
---|
1074 | #
|
---|
1075 | # Common rsync bits.
|
---|
1076 | #
|
---|
1077 |
|
---|
1078 |
|
---|
1079 | ## Overridable ssh name.
|
---|
1080 | # On windows build boxes install https://github.com/PowerShell/Win32-OpenSSH/releases
|
---|
1081 | # and point to it in LocalConfig. (The cygwin ssh frequently segfaults due to
|
---|
1082 | # termination race or something along those lines.)
|
---|
1083 | VBOX_SSH ?= ssh
|
---|
1084 | VBOX_SSH_FOR_RSYNC ?= $(VBOX_SSH)
|
---|
1085 |
|
---|
1086 | ## Overridable rsh name.
|
---|
1087 | VBOX_RSYNC ?= rsync --rsh="$(VBOX_SSH_FOR_RSYNC)"
|
---|
1088 | VBOX_RSYNC_NOSSH ?= rsync
|
---|
1089 |
|
---|
1090 | ##
|
---|
1091 | # The basic rsync invocation for syncing the tree into a VM; the source and
|
---|
1092 | # target specs are missing.
|
---|
1093 | #
|
---|
1094 | # @param 1 os name.
|
---|
1095 | # @param 2 arch or *.
|
---|
1096 | # @param 3 nossh or empty
|
---|
1097 | #
|
---|
1098 | VBOX_RSYNC_IN_FN = $(if-expr "$(3)" != "nossh",$(VBOX_RSYNC),$(VBOX_RSYNC_NOSSH))\
|
---|
1099 | -a -v --delete --delete-excluded --prune-empty-dirs \
|
---|
1100 | --exclude=*.pyc \
|
---|
1101 | --exclude=.svn/ \
|
---|
1102 | --exclude=doc/Devices/ \
|
---|
1103 | --exclude=doc/tg/ \
|
---|
1104 | --exclude=doc/vp/ \
|
---|
1105 | --exclude=tinderclient.log \
|
---|
1106 | --exclude=tools/FetchDir/ \
|
---|
1107 | --exclude=webtools/ \
|
---|
1108 | --exclude=out/ \
|
---|
1109 | --exclude=tools/common/plantuml/ \
|
---|
1110 | $(if-expr "$1" == "solaris",--exclude=tools/common/openwatcom/,) \
|
---|
1111 | $(foreach os,$(filter-out $(1), darwin freebsd linux solaris os2 win), \
|
---|
1112 | --exclude=tools/$(os)/ \
|
---|
1113 | --exclude=tools/$(os).x86/ \
|
---|
1114 | --exclude=tools/$(os).amd64/ \
|
---|
1115 | --exclude=tools/$(os).arm64/ )
|
---|
1116 |
|
---|
1117 | #
|
---|
1118 | # VM IP addresses.
|
---|
1119 | #
|
---|
1120 | VBOX_BLD_VM_LNX_IP := 192.168.27.2
|
---|
1121 | VBOX_BLD_VM_OS2_IP := 192.168.27.3
|
---|
1122 | VBOX_BLD_VM_SOLARIS_IP := 192.168.27.4
|
---|
1123 | VBOX_BLD_VM_DARWIN_X86_IP := 192.168.27.5
|
---|
1124 | VBOX_BLD_VM_DARWIN_AMD64_IP := 192.168.27.15
|
---|
1125 | VBOX_BLD_VM_DARWIN_109_AMD64_IP := 192.168.27.18
|
---|
1126 | VBOX_BLD_VM_DARWIN_ARM64_IP := 192.168.27.25
|
---|
1127 | VBOX_BLD_VM_WIN_X86_IP := 192.168.27.6
|
---|
1128 | VBOX_BLD_VM_WIN_AMD64_IP := 192.168.27.16
|
---|
1129 | VBOX_BLD_VM_FBSD_X86_IP := 192.168.27.7
|
---|
1130 | VBOX_BLD_VM_FBSD_AMD64_IP := 192.168.27.17
|
---|
1131 |
|
---|
1132 | VBOX_WITH_OS2_ADD_BUILD=1
|
---|
1133 |
|
---|
1134 | #
|
---|
1135 | # For profiling the VM building steps.
|
---|
1136 | #
|
---|
1137 | if 0
|
---|
1138 | VBOX_BLD_VM_MSG_BEGIN = $(call MSG_L1,Building $1.)
|
---|
1139 | VBOX_BLD_VM_MSG_END__ =
|
---|
1140 | else
|
---|
1141 | VBOX_BLD_VM_MSG_BEGIN = @echo "$(date ) - Start building $1."
|
---|
1142 | VBOX_BLD_VM_MSG_END__ = @echo "$(date ) - Done building $1."
|
---|
1143 | endif
|
---|
1144 |
|
---|
1145 | #
|
---|
1146 | # For killing old build jobs in the OS/2 VM before rsyncing.
|
---|
1147 | #
|
---|
1148 | VBOX_BLD_VM_OS2_KKILL_STUFF = $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "kkill -All -Tree kmk.exe gcc.exe & sleep.exe 1 & kkill -All gcc.exe emxomfld.exe as.exe kmk.exe "
|
---|
1149 |
|
---|
1150 |
|
---|
1151 | #
|
---|
1152 | # Build the additions, all of them.
|
---|
1153 | #
|
---|
1154 | # This is currently tailored (hardcoded) for the additions
|
---|
1155 | # build box. Can make it pretty and configurable later.
|
---|
1156 | #
|
---|
1157 | # The fetching must be done in serial fashion, while the building
|
---|
1158 | # should be more flexible wrt to -jN.
|
---|
1159 | #
|
---|
1160 | additions-fetch:
|
---|
1161 | + $(KMK) -C tools fetch VBOX_ONLY_ADDITIONS=1
|
---|
1162 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=darwin VBOX_ONLY_ADDITIONS=1 VBOX_DEF_MACOSX_VERSION_MIN=10.7
|
---|
1163 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=darwin VBOX_ONLY_ADDITIONS=1 #VBOX_DEF_MACOSX_VERSION_MIN=10.5
|
---|
1164 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux VBOX_ONLY_ADDITIONS=1
|
---|
1165 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux VBOX_ONLY_ADDITIONS=1
|
---|
1166 | ifdef VBOX_WITH_OS2_ADD_BUILD
|
---|
1167 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_ADDITIONS=1
|
---|
1168 | endif
|
---|
1169 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris VBOX_ONLY_ADDITIONS=1
|
---|
1170 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=solaris VBOX_ONLY_ADDITIONS=1
|
---|
1171 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win VBOX_ONLY_ADDITIONS=1
|
---|
1172 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win VBOX_ONLY_ADDITIONS=1
|
---|
1173 |
|
---|
1174 |
|
---|
1175 | ## @todo Currently combined solaris additions building assumes that amd64 is
|
---|
1176 | # built first. The windows amd64 additions need some x86 files, so don't change
|
---|
1177 | # the order of the windows builds. TODO: Split building and packing for these two VMs.
|
---|
1178 | additions-build: \
|
---|
1179 | additions-build-rsync-into-vms \
|
---|
1180 | additions-build-win.x86 \
|
---|
1181 | additions-build-win.amd64 \
|
---|
1182 | additions-build-solaris.amd64 \
|
---|
1183 | additions-build-solaris.x86 \
|
---|
1184 | additions-build-os2.x86 \
|
---|
1185 | additions-build-linux \
|
---|
1186 | additions-build-darwin.x86 \
|
---|
1187 | additions-build-darwin.amd64
|
---|
1188 |
|
---|
1189 | additions-build-rsync-into-vms: \
|
---|
1190 | additions-build-solaris.rsync-into-vm \
|
---|
1191 | additions-build-os2.rsync-into-vm \
|
---|
1192 | additions-build-darwin.x86.rsync-into-vm \
|
---|
1193 | additions-build-darwin.amd64.rsync-into-vm \
|
---|
1194 | additions-build-linux.rsync-into-vm
|
---|
1195 | $(call MSG_L1,Rsynced the sources + tools into the VMs.)
|
---|
1196 | .NOTPARALLEL: additions-build-rsync-into-vms
|
---|
1197 | .PHONY: additions-build-rsync-into-vms
|
---|
1198 |
|
---|
1199 |
|
---|
1200 | VBOX_ADDITIONS_BUILD.amd64 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \
|
---|
1201 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=amd64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
1202 |
|
---|
1203 | VBOX_ADDITIONS_BUILD.x86 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \
|
---|
1204 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=x86 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
1205 |
|
---|
1206 | # Automatically determine the additions build subdir name. Used for figuring
|
---|
1207 | # out directory names inside the additions building VMs.
|
---|
1208 | VBOX_ADDITIONS_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT)))
|
---|
1209 |
|
---|
1210 | # When building in parallel on a Windows host, make sure we finish the host
|
---|
1211 | # bit before kicking off any UNIX guest or we'll run into file sharing issues.
|
---|
1212 | ifeq ($(KBUILD_TARGET),win)
|
---|
1213 | VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST = #additions-build-win.x86 additions-build-win.amd64
|
---|
1214 | else
|
---|
1215 | VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST =
|
---|
1216 | endif
|
---|
1217 |
|
---|
1218 | # ASSUMES the 32-bit edition has been built already. Also for serializing VM access.
|
---|
1219 | ifeq ($(KBUILD_TARGET),win)
|
---|
1220 | additions-build-win.amd64-just-build:
|
---|
1221 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1222 | additions-build-win.amd64: additions-build-win.x86 additions-build-win.amd64-just-build
|
---|
1223 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing
|
---|
1224 | else
|
---|
1225 | additions-build-win.amd64: additions-build-win.x86
|
---|
1226 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/amd64 additions build+pack)
|
---|
1227 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_AMD64_IP) ' cd e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing '
|
---|
1228 | $(call VBOX_BLD_VM_MSG_END__,Windows/amd64 additions build+pack)
|
---|
1229 | endif
|
---|
1230 |
|
---|
1231 | ifeq ($(KBUILD_TARGET),win)
|
---|
1232 | additions-build-win.x86:
|
---|
1233 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1234 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing
|
---|
1235 | else
|
---|
1236 | additions-build-win.x86:
|
---|
1237 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/x86 additions build.pack)
|
---|
1238 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_X86_IP) ' cd e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.x86) all packing '
|
---|
1239 | $(call VBOX_BLD_VM_MSG_END__,Windows/x86 additions build+pack)
|
---|
1240 | endif
|
---|
1241 |
|
---|
1242 | # ASSUMES the 64-bit edition are built first. This also serializes VM access.
|
---|
1243 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
1244 | additions-build-solaris.amd64:
|
---|
1245 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1246 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing
|
---|
1247 |
|
---|
1248 | additions-build-solaris.x86: additions-build-solaris.amd64
|
---|
1249 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1250 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 packing
|
---|
1251 |
|
---|
1252 | additions-build-solaris.rsync-into-vm:
|
---|
1253 | else
|
---|
1254 | additions-build-solaris.rsync-into-vm:
|
---|
1255 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) \
|
---|
1256 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1257 | '--exclude=src/VBox/Frontends/**' \
|
---|
1258 | '--exclude=src/VBox/VMM/**' \
|
---|
1259 | . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
1260 |
|
---|
1261 | additions-build-solaris.build-it: additions-build-solaris.rsync-into-vm
|
---|
1262 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 additions build+pack)
|
---|
1263 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) ' cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing '
|
---|
1264 | $(call VBOX_BLD_VM_MSG_END__,Solaris/amd64 additions build+pack)
|
---|
1265 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/x86 additions build+pack)
|
---|
1266 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) ' cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 '
|
---|
1267 | $(call VBOX_BLD_VM_MSG_END__,Solaris/x86 additions build+pack)
|
---|
1268 |
|
---|
1269 | additions-build-solaris.rsync-out-of-vm: additions-build-solaris.build-it
|
---|
1270 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/solaris.x86 out/
|
---|
1271 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/solaris.amd64 out/
|
---|
1272 |
|
---|
1273 | .NOTPARALLEL: additions-build-solaris.rsync-into-vm
|
---|
1274 | .PHONY: additions-build-solaris.rsync-into-vm additions-build-solaris.rsync-out-of-vm additions-build-solaris.build-it
|
---|
1275 |
|
---|
1276 | additions-build-solaris.amd64: additions-build-solaris.rsync-out-of-vm
|
---|
1277 | additions-build-solaris.x86: additions-build-solaris.rsync-out-of-vm
|
---|
1278 | endif
|
---|
1279 |
|
---|
1280 | ifdef VBOX_WITH_OS2_ADD_BUILD
|
---|
1281 | ifeq ($(KBUILD_TARGET),os2)
|
---|
1282 | additions-build-os2.x86:
|
---|
1283 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1284 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing
|
---|
1285 |
|
---|
1286 | additions-build-os2.rsync-into-vm:
|
---|
1287 | else
|
---|
1288 | additions-build-os2.rsync-into-vm:
|
---|
1289 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
1290 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,nossh)\
|
---|
1291 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
1292 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1293 | '--exclude=src/VBox/Frontends/**' \
|
---|
1294 | '--exclude=src/VBox/VMM/**' \
|
---|
1295 | . rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
1296 |
|
---|
1297 | additions-build-os2.build-it: #additions-build-os2.rsync-into-vm
|
---|
1298 | $(call VBOX_BLD_VM_MSG_BEGIN,OS/2 additions build+pack)
|
---|
1299 | $(TIME) -- $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "cd e:\\tinderbox\\$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && e: && kbuild\\bin\\os2.x86\\kmk_ash tools\\env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing"
|
---|
1300 | $(call VBOX_BLD_VM_MSG_END__,OS/2 additions build+pack)
|
---|
1301 |
|
---|
1302 | additions-build-os2.rsync-out-of-vm: additions-build-os2.build-it
|
---|
1303 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
1304 | $(TIME) -- $(VBOX_RSYNC_NOSSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/os2.x86 ./out
|
---|
1305 |
|
---|
1306 | .NOTPARALLEL: additions-build-os2.rsync-into-vm
|
---|
1307 | .PHONY: additions-build-os2.rsync-into-vm additions-build-os2.rsync-out-of-vm additions-build-os2.build-it
|
---|
1308 |
|
---|
1309 | additions-build-os2.x86: additions-build-os2.rsync-out-of-vm
|
---|
1310 | endif
|
---|
1311 | #
|
---|
1312 | else
|
---|
1313 | additions-build-os2.x86:
|
---|
1314 | # Dummy
|
---|
1315 | endif
|
---|
1316 |
|
---|
1317 | # Linux
|
---|
1318 | ifeq ($(KBUILD_TARGET),linux)
|
---|
1319 | additions-build-linux.amd64:
|
---|
1320 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1321 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1
|
---|
1322 |
|
---|
1323 | additions-build-linux.x86:
|
---|
1324 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1325 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1
|
---|
1326 |
|
---|
1327 | additions-build-linux: additions-build-linux.x86 additions-build-linux.amd64
|
---|
1328 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1329 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1
|
---|
1330 | else
|
---|
1331 | additions-build-linux.rsync-into-vm:
|
---|
1332 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) \
|
---|
1333 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1334 | '--exclude=src/VBox/Frontends/**' \
|
---|
1335 | '--exclude=src/VBox/VMM/**' \
|
---|
1336 | . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
1337 |
|
---|
1338 | additions-build-linux.build-it: additions-build-linux.rsync-into-vm
|
---|
1339 | ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING
|
---|
1340 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 additions/greeter)
|
---|
1341 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c ubuntu-11.10-amd64 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) PATH_OUT=/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.amd64/$(KBUILD_TYPE)/greeter VBOX_WITH_LIGHTDM_GREETER=1 vbox-greeter " '
|
---|
1342 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 additions/greeter)
|
---|
1343 | endif
|
---|
1344 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 additions build+pack)
|
---|
1345 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1 VBOX_WITH_LIGHTDM_GREETER_PACKING=$(VBOX_WITH_LIGHTDM_GREETER_PACKING) " '
|
---|
1346 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 additions build+pack)
|
---|
1347 | ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING
|
---|
1348 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 additions/greeter)
|
---|
1349 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c ubuntu-11.10-i386 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && KBUILD_HOST_ARCH=x86 tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) PATH_OUT=/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.x86/$(KBUILD_TYPE)/greeter VBOX_WITH_LIGHTDM_GREETER=1 vbox-greeter " '
|
---|
1350 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 additions/greeter)
|
---|
1351 | endif
|
---|
1352 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 additions build+pack)
|
---|
1353 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c rhel3-i386 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1 VBOX_WITH_LIGHTDM_GREETER_PACKING=$(VBOX_WITH_LIGHTDM_GREETER_PACKING) " '
|
---|
1354 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 additions build+pack)
|
---|
1355 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 additions combine)
|
---|
1356 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c rhel3-i386 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1 " '
|
---|
1357 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 additions combine)
|
---|
1358 |
|
---|
1359 | additions-build-linux.rsync-out-of-vm: additions-build-linux.build-it
|
---|
1360 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.x86 out/
|
---|
1361 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.amd64 out/
|
---|
1362 |
|
---|
1363 | .NOTPARALLEL: additions-build-linux.rsync-into-vm
|
---|
1364 | .PHONY: additions-build-linux.rsync-into-vm additions-build-linux.rsync-out-of-vm additions-build-linux.build-it
|
---|
1365 |
|
---|
1366 | additions-build-linux: additions-build-linux.rsync-out-of-vm
|
---|
1367 | endif
|
---|
1368 |
|
---|
1369 | # Darwin
|
---|
1370 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
1371 | additions-build-darwin.amd64:
|
---|
1372 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1373 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing
|
---|
1374 |
|
---|
1375 | additions-build-darwin.x86:
|
---|
1376 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
1377 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing
|
---|
1378 |
|
---|
1379 | additions-build-darwin: additions-build-darwin.amd64 additions-build-darwin.x86
|
---|
1380 | .PHONY: additions-build-darwin.amd64 additions-build-darwin.x86
|
---|
1381 | else
|
---|
1382 | additions-build-darwin.amd64.rsync-into-vm:
|
---|
1383 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'sudo rm -Rf /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/'
|
---|
1384 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,*) \
|
---|
1385 | '--exclude=src/libs/xpcom18a4/**' \
|
---|
1386 | '--exclude=src/libs/curl*/**' \
|
---|
1387 | '--exclude=src/libs/libxml*/**' \
|
---|
1388 | '--exclude=src/libs/libvpx*/**' \
|
---|
1389 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1390 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
1391 | '--exclude=src/VBox/Artwork/x11/**' \
|
---|
1392 | '--include=src/VBox/Devices/' \
|
---|
1393 | '--include=src/VBox/Devices/Audio/' \
|
---|
1394 | '--include=src/VBox/Devices/Audio/**' \
|
---|
1395 | '--include=src/VBox/Devices/build/' \
|
---|
1396 | '--include=src/VBox/Devices/build/**' \
|
---|
1397 | '--exclude=src/VBox/Devices/**' \
|
---|
1398 | '--exclude=src/VBox/Disassembler/**' \
|
---|
1399 | '--exclude=src/VBox/ExtPacks/**' \
|
---|
1400 | '--exclude=src/VBox/Frontends/**' \
|
---|
1401 | '--exclude=src/VBox/HostDriver/**' \
|
---|
1402 | '--exclude=src/VBox/HostService/**' \
|
---|
1403 | '--exclude=src/VBox/ImageMounter/**' \
|
---|
1404 | '--exclude=src/VBox/Installer/win/**' \
|
---|
1405 | '--exclude=src/VBox/Main/**' \
|
---|
1406 | '--exclude=src/VBox/NetworkService/**' \
|
---|
1407 | '--exclude=src/VBox/RDP/**' \
|
---|
1408 | '--exclude=src/VBox/Storage/**' \
|
---|
1409 | '--include=src/VBox/ValidationKit/' \
|
---|
1410 | '--include=src/VBox/ValidationKit/Config.kmk' \
|
---|
1411 | '--include=src/VBox/ValidationKit/utils/' \
|
---|
1412 | '--include=src/VBox/ValidationKit/utils/audio/' \
|
---|
1413 | '--include=src/VBox/ValidationKit/utils/audio/**' \
|
---|
1414 | '--exclude=src/VBox/ValidationKit/**' \
|
---|
1415 | '--exclude=src/VBox/VMM/**' \
|
---|
1416 | '--exclude=src/apps/**' \
|
---|
1417 | '--exclude=src/recompiler/**' \
|
---|
1418 | . $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
1419 |
|
---|
1420 | additions-build-darwin.x86.rsync-into-vm:
|
---|
1421 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'sudo rm -Rf /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/'
|
---|
1422 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,*) \
|
---|
1423 | '--exclude=src/libs/xpcom18a4/**' \
|
---|
1424 | '--exclude=src/libs/curl*/**' \
|
---|
1425 | '--exclude=src/libs/libxml*/**' \
|
---|
1426 | '--exclude=src/libs/libvpx*/**' \
|
---|
1427 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1428 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
1429 | '--exclude=src/VBox/Artwork/x11/**' \
|
---|
1430 | '--include=src/VBox/Devices/' \
|
---|
1431 | '--include=src/VBox/Devices/Audio/' \
|
---|
1432 | '--include=src/VBox/Devices/Audio/**' \
|
---|
1433 | '--include=src/VBox/Devices/build/' \
|
---|
1434 | '--include=src/VBox/Devices/build/**' \
|
---|
1435 | '--exclude=src/VBox/Devices/**' \
|
---|
1436 | '--exclude=src/VBox/Disassembler/**' \
|
---|
1437 | '--exclude=src/VBox/ExtPacks/**' \
|
---|
1438 | '--exclude=src/VBox/Frontends/**' \
|
---|
1439 | '--exclude=src/VBox/HostDriver/**' \
|
---|
1440 | '--exclude=src/VBox/HostService/**' \
|
---|
1441 | '--exclude=src/VBox/ImageMounter/**' \
|
---|
1442 | '--exclude=src/VBox/Installer/win/**' \
|
---|
1443 | '--exclude=src/VBox/Main/**' \
|
---|
1444 | '--exclude=src/VBox/NetworkService/**' \
|
---|
1445 | '--exclude=src/VBox/RDP/**' \
|
---|
1446 | '--exclude=src/VBox/Storage/**' \
|
---|
1447 | '--include=src/VBox/ValidationKit/' \
|
---|
1448 | '--include=src/VBox/ValidationKit/Config.kmk' \
|
---|
1449 | '--include=src/VBox/ValidationKit/utils/' \
|
---|
1450 | '--include=src/VBox/ValidationKit/utils/audio/' \
|
---|
1451 | '--include=src/VBox/ValidationKit/utils/audio/**' \
|
---|
1452 | '--exclude=src/VBox/ValidationKit/**' \
|
---|
1453 | '--exclude=src/VBox/VMM/**' \
|
---|
1454 | '--exclude=src/apps/**' \
|
---|
1455 | '--exclude=src/recompiler/**' \
|
---|
1456 | . $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
1457 |
|
---|
1458 | additions-build-darwin.amd64.build-it: additions-build-darwin.amd64.rsync-into-vm
|
---|
1459 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/amd64 Additions)
|
---|
1460 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all ' # VBOX_DEF_MACOSX_VERSION_MIN=10.7
|
---|
1461 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) packing ' # VBOX_DEF_MACOSX_VERSION_MIN=10.7
|
---|
1462 | $(call VBOX_BLD_VM_MSG_END__,Darwin/amd64 Additions)
|
---|
1463 |
|
---|
1464 | additions-build-darwin.x86.build-it: additions-build-darwin.x86.rsync-into-vm
|
---|
1465 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/x86 Additions)
|
---|
1466 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all ' # VBOX_DEF_MACOSX_VERSION_MIN=10.5
|
---|
1467 | # no pkgbuild # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) packing ' # VBOX_DEF_MACOSX_VERSION_MIN=10.5
|
---|
1468 | $(call VBOX_BLD_VM_MSG_END__,Darwin/x86 Additions)
|
---|
1469 |
|
---|
1470 | additions-build-darwin.amd64.rsync-out-of-vm: additions-build-darwin.amd64.build-it
|
---|
1471 | $(TIME) -- $(VBOX_RSYNC) -a -v --delete $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/darwin.amd64 out/
|
---|
1472 |
|
---|
1473 | additions-build-darwin.x86.rsync-out-of-vm: additions-build-darwin.x86.build-it
|
---|
1474 | $(TIME) -- $(VBOX_RSYNC) -a -v --delete $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/darwin.x86 out/
|
---|
1475 |
|
---|
1476 | additions-build-darwin.amd64: additions-build-darwin.amd64.rsync-out-of-vm
|
---|
1477 | additions-build-darwin.x86: additions-build-darwin.x86.rsync-out-of-vm
|
---|
1478 | additions-build-darwin: additions-build-darwin.x86.rsync-out-of-vm additions-build-darwin.amd64.rsync-out-of-vm
|
---|
1479 |
|
---|
1480 | .PHONY: additions-build-darwin.amd64.rsync-into-vm additions-build-darwin.amd64.rsync-out-of-vm additions-build-darwin.amd64.build-it \
|
---|
1481 | additions-build-darwin.x86.rsync-into-vm additions-build-darwin.x86.rsync-out-of-vm additions-build-darwin.x86.build-it
|
---|
1482 | endif
|
---|
1483 |
|
---|
1484 |
|
---|
1485 | additions-packing:
|
---|
1486 | + $(KMK) VBOX_ONLY_ADDITIONS=1 \
|
---|
1487 | VBOX_WITH_ADDITIONS_ISO.darwin.amd64=1 \
|
---|
1488 | VBOX_WITH_ADDITIONS_ISO.darwin.x86= \
|
---|
1489 | VBOX_WITH_ADDITIONS_ISO.freebsd.amd64= \
|
---|
1490 | VBOX_WITH_ADDITIONS_ISO.freebsd.x86= \
|
---|
1491 | VBOX_WITH_ADDITIONS_ISO.linux.amd64= \
|
---|
1492 | VBOX_WITH_ADDITIONS_ISO.linux.x86=1 \
|
---|
1493 | VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1 \
|
---|
1494 | VBOX_WITH_ADDITIONS_ISO.os2.x86=1 \
|
---|
1495 | VBOX_WITH_ADDITIONS_ISO.solaris.amd64=1 \
|
---|
1496 | VBOX_WITH_ADDITIONS_ISO.solaris.x86=1 \
|
---|
1497 | VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 \
|
---|
1498 | VBOX_WITH_ADDITIONS_ISO.win.amd64=1 \
|
---|
1499 | VBOX_WITH_ADDITIONS_ISO.win.x86=1 \
|
---|
1500 | -C src/VBox/Additions \
|
---|
1501 | $(VBOX_PATH_ADDITIONS)/VBoxGuestAdditions.zip
|
---|
1502 |
|
---|
1503 | .PHONY: \
|
---|
1504 | additions-build-win.x86 \
|
---|
1505 | additions-build-win.amd64 \
|
---|
1506 | additions-build-solaris.amd64 \
|
---|
1507 | additions-build-solaris.x86 \
|
---|
1508 | additions-build-os2.x86 \
|
---|
1509 | additions-build-linux \
|
---|
1510 | additions-build-linux.amd64 \
|
---|
1511 | additions-build-linux.x86 \
|
---|
1512 | additions-build-linux.x86.combined \
|
---|
1513 | additions-build-darwin \
|
---|
1514 | additions-build-darwin.x86 \
|
---|
1515 | additions-build-darwin.amd64 \
|
---|
1516 | additions-packing
|
---|
1517 |
|
---|
1518 |
|
---|
1519 | #
|
---|
1520 | # Build the extension packs, all of them.
|
---|
1521 | #
|
---|
1522 | # This is tailored (hardcoded) for the extension pack build box.
|
---|
1523 | #
|
---|
1524 | # The fetching must be done in serial fashion, while the building should be
|
---|
1525 | # more flexible wrt to -jN.
|
---|
1526 | #
|
---|
1527 | extpacks-fetch:
|
---|
1528 | + $(KMK) -C tools fetch VBOX_ONLY_EXTPACKS=1
|
---|
1529 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=darwin VBOX_ONLY_EXTPACKS=1
|
---|
1530 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=freebsd VBOX_ONLY_EXTPACKS=1
|
---|
1531 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux VBOX_ONLY_EXTPACKS=1
|
---|
1532 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris VBOX_ONLY_EXTPACKS=1
|
---|
1533 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win VBOX_ONLY_EXTPACKS=1
|
---|
1534 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=arm64 KBUILD_TARGET=darwin VBOX_ONLY_EXTPACKS=1
|
---|
1535 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
1536 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=darwin VBOX_ONLY_EXTPACKS=1
|
---|
1537 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=freebsd VBOX_ONLY_EXTPACKS=1
|
---|
1538 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux VBOX_ONLY_EXTPACKS=1
|
---|
1539 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_EXTPACKS=1
|
---|
1540 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win VBOX_ONLY_EXTPACKS=1
|
---|
1541 | endif
|
---|
1542 |
|
---|
1543 |
|
---|
1544 | extpacks-build: \
|
---|
1545 | extpacks-build-win.amd64 \
|
---|
1546 | extpacks-build-win.x86 \
|
---|
1547 | extpacks-build-solaris.amd64 \
|
---|
1548 | extpacks-build-os2.x86 \
|
---|
1549 | extpacks-build-linux \
|
---|
1550 | extpacks-build-darwin.amd64 \
|
---|
1551 | extpacks-build-darwin.arm64 \
|
---|
1552 | extpacks-build-freebsd.amd64 \
|
---|
1553 | extpacks-build-freebsd.x86
|
---|
1554 |
|
---|
1555 | VBOX_EXTPACKS_BUILD.amd64 = VBOX_ONLY_EXTPACKS=1 VBOX_WITH_MAIN_NLS= VBOX_WITH_PUEL_NLS_NO_QM=1 \
|
---|
1556 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=amd64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
1557 |
|
---|
1558 | VBOX_EXTPACKS_BUILD.arm64 = VBOX_ONLY_EXTPACKS=1 VBOX_WITH_MAIN_NLS= VBOX_WITH_PUEL_NLS_NO_QM=1 \
|
---|
1559 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=arm64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
1560 |
|
---|
1561 | VBOX_EXTPACKS_BUILD.x86 = VBOX_ONLY_EXTPACKS=1 VBOX_WITH_MAIN_NLS= VBOX_WITH_PUEL_NLS_NO_QM=1 \
|
---|
1562 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=x86 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
1563 |
|
---|
1564 | ifdef VBOX_WITH_PUEL_NLS
|
---|
1565 | VBOX_EXTPACKS_HOST_EXTRA = VBOX_WITH_PUEL_NLS_NO_QM=
|
---|
1566 | else
|
---|
1567 | VBOX_EXTPACKS_HOST_EXTRA = VBOX_WITH_PUEL_NLS_NO_QM=
|
---|
1568 | endif
|
---|
1569 |
|
---|
1570 | # Automatically determine the extpack build subdir name. Used for figuring out
|
---|
1571 | # directory names inside the extension pack building VMs.
|
---|
1572 | VBOX_EXTPACKS_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT)))
|
---|
1573 |
|
---|
1574 | # When building in parallel on a Windows host, make sure we finish the host
|
---|
1575 | # bit before kicking off any UNIX guest or we'll run into file sharing issues.
|
---|
1576 | ifeq ($(KBUILD_TARGET),win)
|
---|
1577 | VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST = extpacks-build-win.x86 extpacks-build-win.amd64
|
---|
1578 | else
|
---|
1579 | VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST =
|
---|
1580 | endif
|
---|
1581 |
|
---|
1582 | extpacks-build-win.amd64:
|
---|
1583 | ifeq ($(KBUILD_TARGET),win)
|
---|
1584 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1585 | else
|
---|
1586 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/amd64 extension packs)
|
---|
1587 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_AMD64_IP) 'cd e:/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
1588 | $(call VBOX_BLD_VM_MSG_END__,Windows/amd64 extension packs)
|
---|
1589 | endif
|
---|
1590 |
|
---|
1591 | extpacks-build-win.x86:
|
---|
1592 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
1593 | ifeq ($(KBUILD_TARGET),win)
|
---|
1594 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1595 | else
|
---|
1596 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/x86 extension packs)
|
---|
1597 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_X86_IP) 'cd e:/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_EXTPACKS_BUILD.x86) all '
|
---|
1598 | $(call VBOX_BLD_VM_MSG_END__,Windows/x86 extension packs)
|
---|
1599 | endif
|
---|
1600 | else
|
---|
1601 | @$(ECHO) "nothing to do for unsupported host $@"
|
---|
1602 | endif
|
---|
1603 |
|
---|
1604 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
1605 | extpacks-build-solaris.amd64:
|
---|
1606 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1607 |
|
---|
1608 | else
|
---|
1609 | # Serialize 32-bit and 64-bit ASSUMING the same VM builds both.
|
---|
1610 | extpacks-build-solaris.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1611 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
1612 |
|
---|
1613 | extpacks-build-solaris.build-it: extpacks-build-solaris.rsync-into-vm
|
---|
1614 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 extension packs)
|
---|
1615 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
1616 | $(call VBOX_BLD_VM_MSG_END__,Solaris/amd64 extension packs)
|
---|
1617 |
|
---|
1618 | extpacks-build-solaris.rsync-out-of-vm: extpacks-build-solaris.build-it
|
---|
1619 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/solaris.amd64 out/
|
---|
1620 |
|
---|
1621 | #.NOTPARALLEL: extpacks-build-solaris.rsync-into-vm
|
---|
1622 | .PHONY: extpacks-build-solaris.rsync-out-of-vm extpacks-build-solaris.rsync-into-vm extpacks-build-solaris.build-it
|
---|
1623 |
|
---|
1624 | extpacks-build-solaris.amd64: extpacks-build-solaris.rsync-out-of-vm
|
---|
1625 | endif
|
---|
1626 |
|
---|
1627 | extpacks-build-os2.x86:
|
---|
1628 | #ifeq ($(KBUILD_TARGET),os2)
|
---|
1629 | # + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1630 | #else
|
---|
1631 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_OS2_IP) ' cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.x86) '
|
---|
1632 | #endif
|
---|
1633 |
|
---|
1634 | ifeq ($(KBUILD_TARGET),linux)
|
---|
1635 | extpacks-build-linux.amd64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1636 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1637 |
|
---|
1638 | extpacks-build-linux.x86: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1639 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
1640 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1641 | else
|
---|
1642 | @$(ECHO) "nothing to do for unsupported host $@"
|
---|
1643 | endif
|
---|
1644 |
|
---|
1645 | extpacks-build-linux: extpacks-build-linux.x86 extpacks-build-linux.amd64
|
---|
1646 | else
|
---|
1647 | # Serialize 32-bit and 64-bit ASSUMING the same VM builds both.
|
---|
1648 | extpacks-build-linux.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1649 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
1650 |
|
---|
1651 | extpacks-build-linux.build-it: extpacks-build-linux.rsync-into-vm
|
---|
1652 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 extension packs)
|
---|
1653 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all " '
|
---|
1654 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 extension packs)
|
---|
1655 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
1656 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 extension packs)
|
---|
1657 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c debian-4.0-i386 "cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.x86) all " '
|
---|
1658 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 extension packs)
|
---|
1659 | endif
|
---|
1660 |
|
---|
1661 | extpacks-build-linux.rsync-out-of-vm: extpacks-build-linux.build-it
|
---|
1662 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
1663 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/linux.x86 out/
|
---|
1664 | endif
|
---|
1665 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/linux.amd64 out/
|
---|
1666 |
|
---|
1667 | #.NOTPARALLEL: extpacks-build-linux.rsync-into-vm
|
---|
1668 | .PHONY: extpacks-build-linux.rsync-out-of-vm extpacks-build-linux.rsync-into-vm extpacks-build-linux.build-it
|
---|
1669 |
|
---|
1670 | extpacks-build-linux: extpacks-build-linux.rsync-out-of-vm
|
---|
1671 | endif
|
---|
1672 |
|
---|
1673 | extpacks-build-freebsd.amd64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1674 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.amd64)
|
---|
1675 | # + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1676 | #else
|
---|
1677 | # $(call VBOX_BLD_VM_MSG_BEGIN,FreeBSD/amd64 extension packs)
|
---|
1678 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_AMD64_IP) 'cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
1679 | # $(call VBOX_BLD_VM_MSG_END__,FreeBSD/amd64 extension packs)
|
---|
1680 | #endif
|
---|
1681 |
|
---|
1682 | extpacks-build-freebsd.x86: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1683 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.x86)
|
---|
1684 | # + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1685 | #else
|
---|
1686 | # $(call VBOX_BLD_VM_MSG_BEGIN,FreeBSD/x86 extension packs)
|
---|
1687 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_X86_IP) 'cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.x86) all '
|
---|
1688 | # $(call VBOX_BLD_VM_MSG_END__,FreeBSD/x86 extension packs)
|
---|
1689 | #endif
|
---|
1690 |
|
---|
1691 | extpacks-build-darwin.amd64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1692 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.amd64)
|
---|
1693 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1694 | else
|
---|
1695 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/amd64 extension packs)
|
---|
1696 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,amd64) . $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
1697 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'PATH=$$PATH:/opt/local/bin; cd /Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && KBUILD_HOST_ARCH=amd64 tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
1698 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/darwin.amd64 out/
|
---|
1699 | $(call VBOX_BLD_VM_MSG_END__,Darwin/amd64 extension packs)
|
---|
1700 | endif
|
---|
1701 |
|
---|
1702 | extpacks-build-darwin.arm64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
1703 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.arm64)
|
---|
1704 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.arm64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
1705 | else
|
---|
1706 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/arm64 extension packs)
|
---|
1707 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,arm64) . $(VBOX_BLD_VM_DARWIN_ARM64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
1708 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_ARM64_IP) 'PATH=$$PATH:/opt/local/bin; cd /Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && KBUILD_HOST_ARCH=arm64 tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.arm64) all '
|
---|
1709 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_ARM64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/darwin.arm64 out/
|
---|
1710 | $(call VBOX_BLD_VM_MSG_END__,Darwin/arm64 extension packs)
|
---|
1711 | endif
|
---|
1712 |
|
---|
1713 | extpacks-packing:
|
---|
1714 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
1715 | + $(KMK) VBOX_WITH_EXTPACK_OS_ARCHS="darwin.amd64 linux.amd64 linux.x86 solaris.amd64 win.amd64 win.x86" \
|
---|
1716 | VBOX_ONLY_EXTPACKS=1 packing
|
---|
1717 | else
|
---|
1718 | + $(KMK) VBOX_WITH_EXTPACK_OS_ARCHS="darwin.amd64 darwin.arm64 linux.amd64 solaris.amd64 win.amd64" \
|
---|
1719 | VBOX_ONLY_EXTPACKS=1 packing
|
---|
1720 | endif
|
---|
1721 | # +++ freebsd.amd64 ^^^
|
---|
1722 |
|
---|
1723 | .PHONY: \
|
---|
1724 | extpacks-build-win.x86 \
|
---|
1725 | extpacks-build-win.amd64 \
|
---|
1726 | extpacks-build-solaris.amd64 \
|
---|
1727 | extpacks-build-os2.x86 \
|
---|
1728 | extpacks-build-linux \
|
---|
1729 | extpacks-build-linux.amd64 \
|
---|
1730 | extpacks-build-linux.x86 \
|
---|
1731 | extpacks-build-freebsd.amd64 \
|
---|
1732 | extpacks-build-freebsd.x86 \
|
---|
1733 | extpacks-build-darwin.amd64 \
|
---|
1734 | extpacks-packing
|
---|
1735 |
|
---|
1736 |
|
---|
1737 | #
|
---|
1738 | # Build the test suite, all of it.
|
---|
1739 | #
|
---|
1740 | # This is currently tailored (hardcoded) for the additions build box just like
|
---|
1741 | # the additions build above, which it in fact is a copy of.
|
---|
1742 | #
|
---|
1743 | validationkit-fetch:
|
---|
1744 | + $(KMK) -C tools fetch VBOX_ONLY_VALIDATIONKIT=1
|
---|
1745 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=darwin VBOX_ONLY_VALIDATIONKIT=1
|
---|
1746 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=darwin VBOX_ONLY_VALIDATIONKIT=1
|
---|
1747 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=freebsd VBOX_ONLY_VALIDATIONKIT=1
|
---|
1748 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=freebsd VBOX_ONLY_VALIDATIONKIT=1
|
---|
1749 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux VBOX_ONLY_VALIDATIONKIT=1
|
---|
1750 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux VBOX_ONLY_VALIDATIONKIT=1
|
---|
1751 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_VALIDATIONKIT=1
|
---|
1752 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris VBOX_ONLY_VALIDATIONKIT=1
|
---|
1753 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=solaris VBOX_ONLY_VALIDATIONKIT=1
|
---|
1754 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win VBOX_ONLY_VALIDATIONKIT=1
|
---|
1755 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win VBOX_ONLY_VALIDATIONKIT=1
|
---|
1756 |
|
---|
1757 |
|
---|
1758 | validationkit-build: \
|
---|
1759 | validationkit-build-rsync-into-vms \
|
---|
1760 | validationkit-build-solaris.amd64 \
|
---|
1761 | validationkit-build-solaris.x86 \
|
---|
1762 | validationkit-build-win.x86 \
|
---|
1763 | validationkit-build-win.amd64 \
|
---|
1764 | validationkit-build-os2.x86 \
|
---|
1765 | validationkit-build-linux \
|
---|
1766 | validationkit-build-freebsd.amd64 \
|
---|
1767 | validationkit-build-freebsd.x86 \
|
---|
1768 | validationkit-build-darwin.amd64 \
|
---|
1769 | validationkit-build-darwin.x86
|
---|
1770 |
|
---|
1771 | validationkit-build-rsync-into-vms: \
|
---|
1772 | validationkit-build-solaris.rsync-into-vm \
|
---|
1773 | validationkit-build-os2.rsync-into-vm \
|
---|
1774 | validationkit-build-linux.rsync-into-vm
|
---|
1775 | $(call MSG_L1,Rsynced the sources + tools into the VMs.)
|
---|
1776 | .NOTPARALLEL: validationkit-build-rsync-into-vms
|
---|
1777 | .PHONY: validationkit-build-rsync-into-vms
|
---|
1778 |
|
---|
1779 |
|
---|
1780 | VBOX_VALIDATIONKIT_BUILD.amd64 = VBOX_ONLY_VALIDATIONKIT=1 \
|
---|
1781 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=amd64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
1782 |
|
---|
1783 | VBOX_VALIDATIONKIT_BUILD.x86 = VBOX_ONLY_VALIDATIONKIT=1 \
|
---|
1784 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=x86 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
1785 |
|
---|
1786 | # Automatically determine the Validation Kit build subdir name. Used for figuring
|
---|
1787 | # out directory names inside the test suite building VMs.
|
---|
1788 | VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT)))
|
---|
1789 |
|
---|
1790 | # When building in parallel on a Windows host, make sure we finish the host
|
---|
1791 | # bit before kicking off any UNIX guest or we'll run into file sharing issues.
|
---|
1792 | ifeq ($(KBUILD_TARGET),win)
|
---|
1793 | VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST = validationkit-build-win.x86 validationkit-build-win.amd64
|
---|
1794 | else
|
---|
1795 | VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST =
|
---|
1796 | endif
|
---|
1797 |
|
---|
1798 | validationkit-build-win.amd64:
|
---|
1799 | ifeq ($(KBUILD_TARGET),win)
|
---|
1800 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1801 | else
|
---|
1802 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/amd64 Validation Kit)
|
---|
1803 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_X86_IP) 'cd e:/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
1804 | $(call VBOX_BLD_VM_MSG_END__,Windows/amd64 Validation Kit)
|
---|
1805 | endif
|
---|
1806 |
|
---|
1807 | validationkit-build-win.x86:
|
---|
1808 | ifeq ($(KBUILD_TARGET),win)
|
---|
1809 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1810 | else
|
---|
1811 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/x86 Validation Kit)
|
---|
1812 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_AMD64_IP) 'cd e:/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
1813 | $(call VBOX_BLD_VM_MSG_END__,Windows/x86 Validation Kit)
|
---|
1814 | endif
|
---|
1815 |
|
---|
1816 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
1817 | validationkit-build-solaris.amd64:
|
---|
1818 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1819 |
|
---|
1820 | validationkit-build-solaris.x86:
|
---|
1821 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1822 |
|
---|
1823 | else
|
---|
1824 | validationkit-build-solaris.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
1825 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) \
|
---|
1826 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1827 | '--exclude=src/VBox/Frontends/**' \
|
---|
1828 | '--exclude=src/VBox/VMM/**' \
|
---|
1829 | . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
1830 |
|
---|
1831 | validationkit-build-solaris.build-it: validationkit-build-solaris.rsync-into-vm
|
---|
1832 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 Validation Kit)
|
---|
1833 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
1834 | $(call VBOX_BLD_VM_MSG_END__,Solaris/amd64 Validation Kit)
|
---|
1835 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/x86 Validation Kit)
|
---|
1836 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
1837 | $(call VBOX_BLD_VM_MSG_END__,Solaris/x86 Validation Kit)
|
---|
1838 |
|
---|
1839 | validationkit-build-solaris.rsync-out-of-vm: validationkit-build-solaris.build-it
|
---|
1840 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/solaris.x86 out/
|
---|
1841 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/solaris.amd64 out/
|
---|
1842 |
|
---|
1843 | .PHONY: validationkit-build-solaris.rsync-out-of-vm validationkit-build-solaris.rsync-into-vm validationkit-build-solaris.build-it
|
---|
1844 |
|
---|
1845 | validationkit-build-solaris.amd64: validationkit-build-solaris.rsync-out-of-vm
|
---|
1846 | validationkit-build-solaris.x86: validationkit-build-solaris.rsync-out-of-vm
|
---|
1847 | endif
|
---|
1848 |
|
---|
1849 | ifeq ($(KBUILD_TARGET),os2)
|
---|
1850 | validationkit-build-os2.x86:
|
---|
1851 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1852 | validationkit-build-os2.rsync-into-vm:
|
---|
1853 | else # !OS/2
|
---|
1854 | validationkit-build-os2.rsync-into-vm:
|
---|
1855 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
1856 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,nossh) \
|
---|
1857 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
1858 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1859 | '--exclude=src/VBox/Frontends/**' \
|
---|
1860 | '--exclude=src/VBox/VMM/**' \
|
---|
1861 | . rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
1862 |
|
---|
1863 | validationkit-build-os2.build-it: validationkit-build-os2.rsync-into-vm
|
---|
1864 | $(call VBOX_BLD_VM_MSG_BEGIN,OS/2 Validation Kit)
|
---|
1865 | $(TIME) -- $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "cd e:\\tinderbox\\$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && e: && kbuild\\bin\\os2.x86\\kmk_ash tools\\env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all"
|
---|
1866 | $(call VBOX_BLD_VM_MSG_END__,OS/2 Validation Kit)
|
---|
1867 |
|
---|
1868 | validationkit-build-os2.rsync-out-of-vm: validationkit-build-os2.build-it
|
---|
1869 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
1870 | $(TIME) -- $(VBOX_RSYNC_NOSSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/os2.x86 ./out
|
---|
1871 |
|
---|
1872 | .PHONY: validationkit-build-os2.rsync-into-vm validationkit-build-os2.rsync-out-of-vm validationkit-build-os2.build-it
|
---|
1873 |
|
---|
1874 | validationkit-build-os2.x86: validationkit-build-os2.rsync-out-of-vm
|
---|
1875 | endif # !OS/2
|
---|
1876 |
|
---|
1877 | ifeq ($(KBUILD_TARGET),linux)
|
---|
1878 | validationkit-build-linux.amd64:
|
---|
1879 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1880 |
|
---|
1881 | validationkit-build-linux.x86:
|
---|
1882 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1883 |
|
---|
1884 | validationkit-build-linux: validationkit-build-linux.x86 validationkit-build-linux.amd64
|
---|
1885 | else
|
---|
1886 | validationkit-build-linux.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
1887 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) \
|
---|
1888 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
1889 | '--exclude=src/VBox/Frontends/**' \
|
---|
1890 | '--exclude=src/VBox/VMM/**' \
|
---|
1891 | . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
1892 |
|
---|
1893 | validationkit-build-linux.build-it: validationkit-build-linux.rsync-into-vm
|
---|
1894 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 Validation Kit)
|
---|
1895 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all " '
|
---|
1896 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 Validation Kit)
|
---|
1897 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 Validation Kit)
|
---|
1898 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c rhel3-i386 "cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all " '
|
---|
1899 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 Validation Kit)
|
---|
1900 |
|
---|
1901 | validationkit-build-linux.rsync-out-of-vm: validationkit-build-linux.build-it
|
---|
1902 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/linux.x86 out/
|
---|
1903 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/linux.amd64 out/
|
---|
1904 |
|
---|
1905 | .PHONY: validationkit-build-linux.rsync-out-of-vm validationkit-build-linux.rsync-into-vm validationkit-build-linux.build-it
|
---|
1906 |
|
---|
1907 | validationkit-build-linux: validationkit-build-linux.rsync-out-of-vm
|
---|
1908 | endif
|
---|
1909 |
|
---|
1910 | validationkit-build-freebsd.amd64: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
1911 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.amd64)
|
---|
1912 | # + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1913 | #else
|
---|
1914 | # $(call VBOX_BLD_VM_MSG_BEGIN,Freebsd/amd64 Validation Kit)
|
---|
1915 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_AMD64_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
1916 | # $(call VBOX_BLD_VM_MSG_END__,Freebsd/amd64 Validation Kit)
|
---|
1917 | #endif
|
---|
1918 |
|
---|
1919 | validationkit-build-freebsd.x86: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
1920 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.x86)
|
---|
1921 | # + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1922 | #else
|
---|
1923 | # $(call VBOX_BLD_VM_MSG_BEGIN,Freebsd/x86 Validation Kit)
|
---|
1924 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_X86_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
1925 | # $(call VBOX_BLD_VM_MSG_END__,Freebsd/x86 Validation Kit)
|
---|
1926 | #endif
|
---|
1927 |
|
---|
1928 | validationkit-build-darwin.amd64: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
1929 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.amd64)
|
---|
1930 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1931 | else
|
---|
1932 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/amd64 Validation Kit)
|
---|
1933 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,amd64) . $(VBOX_BLD_VM_DARWIN_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
1934 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_AMD64_IP) 'cd /Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
1935 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/darwin.amd64 out/
|
---|
1936 | $(call VBOX_BLD_VM_MSG_END__,Darwin/amd64 Validation Kit)
|
---|
1937 | endif
|
---|
1938 |
|
---|
1939 | validationkit-build-darwin.x86: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
1940 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.x86)
|
---|
1941 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
1942 | else
|
---|
1943 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/x86 Validation Kit)
|
---|
1944 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,x86) . $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
1945 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
1946 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/darwin.x86 out/
|
---|
1947 | $(call VBOX_BLD_VM_MSG_END__,Darwin/x86 Validation Kit)
|
---|
1948 | endif
|
---|
1949 |
|
---|
1950 |
|
---|
1951 | validationkit-packing:
|
---|
1952 | + $(KMK) VBOX_ONLY_VALIDATIONKIT=1 \
|
---|
1953 | VBOX_WITH_VALIDATIONKIT_PACKING.darwin.amd64=1 \
|
---|
1954 | VBOX_WITH_VALIDATIONKIT_PACKING.darwin.x86=2 \
|
---|
1955 | VBOX_WITH_VALIDATIONKIT_PACKING.freebsd.amd64= \
|
---|
1956 | VBOX_WITH_VALIDATIONKIT_PACKING.freebsd.x86= \
|
---|
1957 | VBOX_WITH_VALIDATIONKIT_PACKING.linux.amd64=1 \
|
---|
1958 | VBOX_WITH_VALIDATIONKIT_PACKING.linux.x86=1 \
|
---|
1959 | VBOX_WITH_VALIDATIONKIT_PACKING.os2.x86=1 \
|
---|
1960 | VBOX_WITH_VALIDATIONKIT_PACKING.solaris.amd64=1 \
|
---|
1961 | VBOX_WITH_VALIDATIONKIT_PACKING.solaris.x86=1 \
|
---|
1962 | VBOX_WITH_VALIDATIONKIT_PACKING.win.amd64=1 \
|
---|
1963 | VBOX_WITH_VALIDATIONKIT_PACKING.win.x86=1 \
|
---|
1964 | -C src/VBox/ValidationKit \
|
---|
1965 | $(PATH_OUT)/VBoxValidationKit.zip \
|
---|
1966 | $(PATH_OUT)/VBoxTestBoxScript.zip
|
---|
1967 |
|
---|
1968 | .PHONY: \
|
---|
1969 | validationkit-build-win.x86 \
|
---|
1970 | validationkit-build-win.amd64 \
|
---|
1971 | validationkit-build-solaris.amd64 \
|
---|
1972 | validationkit-build-solaris.x86 \
|
---|
1973 | validationkit-build-os2.x86 \
|
---|
1974 | validationkit-build-linux \
|
---|
1975 | validationkit-build-linux.amd64 \
|
---|
1976 | validationkit-build-linux.x86 \
|
---|
1977 | validationkit-build-freebsd.amd64 \
|
---|
1978 | validationkit-build-freebsd.x86 \
|
---|
1979 | validationkit-build-darwin.amd64 \
|
---|
1980 | validationkit-build-darwin.x86 \
|
---|
1981 | validationkit-packing
|
---|
1982 |
|
---|
1983 |
|
---|
1984 | #
|
---|
1985 | # Build the EFI firmware, all of it.
|
---|
1986 | #
|
---|
1987 | efi-fetch:
|
---|
1988 | + $(KMK) -C tools fetch VBOX_ONLY_EXTPACKS=1
|
---|
1989 |
|
---|
1990 | efi-build: $(VBOX_VERSION_HEADER)
|
---|
1991 | + $(KMK) -C src/VBox/Devices/EFI/Firmware$(VBOX_EFI_FIRMWARE_SUFFIX)
|
---|
1992 |
|
---|
1993 | efi-packing:
|
---|
1994 | + $(KMK) -C src/VBox/Devices/EFI/Firmware$(VBOX_EFI_FIRMWARE_SUFFIX) $(PATH_STAGE)/VBoxEfiFirmware.zip
|
---|
1995 |
|
---|
1996 |
|
---|
1997 | #
|
---|
1998 | # Generate VirtualBox-x.x.x.zip (PUEL) snapshot archive for internal use only
|
---|
1999 | # - includes kBuild
|
---|
2000 | # - must be executed on an PUEL checkout
|
---|
2001 | #
|
---|
2002 |
|
---|
2003 | # the path where to store the zip archive
|
---|
2004 | ZIPPATH ?= $(abspath $(PATH_ROOT)/..)
|
---|
2005 | # the root directory inside the zip archive
|
---|
2006 | ZIPROOT ?= VirtualBox-$(VBOX_VERSION_STRING)
|
---|
2007 | # the name of the zip archive
|
---|
2008 | ZIPNAME ?= VirtualBox-$(VBOX_VERSION_STRING).zip
|
---|
2009 | snapshot-puel:
|
---|
2010 | @$(call MSG_L1,Creating zip $(ZIPPATH)/$(ZIPNAME))
|
---|
2011 | @if [ ! -r "$(PATH_ROOT)/src/VBox/RDP/server/server.cpp" ]; then \
|
---|
2012 | echo; \
|
---|
2013 | echo "Did not find RDP stuff, is this an OSE branch?"; \
|
---|
2014 | echo; \
|
---|
2015 | exit 1; \
|
---|
2016 | fi
|
---|
2017 | @if [ -z "$(PASSWORD)" ]; then \
|
---|
2018 | echo; \
|
---|
2019 | echo "Please specify a password with PASSWORD=..."; \
|
---|
2020 | echo; \
|
---|
2021 | exit 1; \
|
---|
2022 | fi
|
---|
2023 | $(QUIET)$(MKDIR) -p $(ZIPPATH)
|
---|
2024 | $(QUIET)$(RM) -f $(ZIPPATH)/$(ZIPROOT)
|
---|
2025 | $(QUIET)$(RM) -f $(ZIPPATH)/$(ZIPNAME)
|
---|
2026 | $(QUIET)$(LN_SYMLINK) $(PATH_ROOT) $(ZIPPATH)/$(ZIPROOT)
|
---|
2027 | $(QUIET)(cd $(ZIPPATH); 7z a \
|
---|
2028 | -l -tzip -mmt=on -mx=7 -p$(PASSWORD) \
|
---|
2029 | -xr!.svn \
|
---|
2030 | -i!$(ZIPROOT)/Config.kmk \
|
---|
2031 | -i!$(ZIPROOT)/Doxyfile.Core \
|
---|
2032 | -i!$(ZIPROOT)/Makefile.kmk \
|
---|
2033 | -i!$(ZIPROOT)/configure \
|
---|
2034 | -i!$(ZIPROOT)/configure.vbs \
|
---|
2035 | -i!$(ZIPROOT)/doc \
|
---|
2036 | -i!$(ZIPROOT)/include \
|
---|
2037 | -i!$(ZIPROOT)/kBuild \
|
---|
2038 | -i!$(ZIPROOT)/src \
|
---|
2039 | -i!$(ZIPROOT)/tools/env.sh \
|
---|
2040 | -i!$(ZIPROOT)/tools/linux.x86/bin/* \
|
---|
2041 | -i!$(ZIPROOT)/tools/linux.amd64/bin/* \
|
---|
2042 | -x!$(ZIPROOT)/doc/Devices \
|
---|
2043 | -x!$(ZIPROOT)/doc/\*pdf \
|
---|
2044 | -x!$(ZIPROOT)/doc/VMM \
|
---|
2045 | -x!$(ZIPROOT)/doc/licenses_old \
|
---|
2046 | -x!$(ZIPROOT)/doc/manual/de_DE \
|
---|
2047 | -x!$(ZIPROOT)/doc/manual/fr_FR \
|
---|
2048 | -x!$(ZIPROOT)/src/tests \
|
---|
2049 | -x!$(ZIPROOT)/src/VBox/Artwork/2008-\* \
|
---|
2050 | -x!$(ZIPROOT)/src/VBox/Installer/AMI \
|
---|
2051 | -x!$(ZIPROOT)/src/VBox/Installer/Avanquest \
|
---|
2052 | -x!$(ZIPROOT)/src/VBox/Installer/Encore \
|
---|
2053 | -x!$(ZIPROOT)/src/VBox/Installer/linux/debian \
|
---|
2054 | -x!$(ZIPROOT)/src/VBox/Installer/linux/rpm \
|
---|
2055 | $(ZIPPATH)/$(ZIPNAME))
|
---|
2056 | $(QUIET)$(RM) $(ZIPPATH)/$(ZIPROOT)
|
---|
2057 |
|
---|
2058 |
|
---|
2059 | #
|
---|
2060 | # Generate VirtualBox-x.x.x.tar.bz2 (OSE) snapshot archive
|
---|
2061 | # - includes kBuild
|
---|
2062 | #
|
---|
2063 |
|
---|
2064 | snapshot-ose:
|
---|
2065 | ifndef VBOX_OSE
|
---|
2066 | $(QUIET)$(RM) -Rf $(wildcard $(PATH_OUT)/vbox-ose-snap-*) $(wildcard $(PATH_OUT)/VirtualBox-*.tar.bz2)
|
---|
2067 | $(call MSG_L1,Making OSE snapshot at $(PATH_OUT)/vbox-ose-snap-$(VBOX_VERSION_STRING))
|
---|
2068 | $(KBUILD_DEVTOOLS)/bin/ose-snapshot.sh $(PATH_OUT)/vbox-ose-snap-$(VBOX_VERSION_STRING)
|
---|
2069 | $(call MSG_L1,Creating OSE tarball $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2)
|
---|
2070 | $(REDIRECT) -C $(PATH_OUT)/vbox-ose-snap-$(VBOX_VERSION_STRING) -- \
|
---|
2071 | $(KBUILD_DEVTOOLS)/bin/ose-tarball.sh $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2
|
---|
2072 | else
|
---|
2073 | $(QUIET)$(RM) $(wildcard $(PATH_OUT)/VirtualBox-*.tar.bz2)
|
---|
2074 | $(call MSG_L1,Creating OSE tarball $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2)
|
---|
2075 | $(REDIRECT) -C $(PATH_ROOT) -- \
|
---|
2076 | $(KBUILD_DEVTOOLS)/bin/ose-tarball.sh $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2
|
---|
2077 | endif
|
---|
2078 |
|
---|
2079 |
|
---|
2080 | #
|
---|
2081 | # Generate ALL the rules.
|
---|
2082 | #
|
---|
2083 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
2084 |
|
---|
2085 |
|
---|
2086 | #
|
---|
2087 | # Generate x86.mac and err.mac.
|
---|
2088 | #
|
---|
2089 | incs:
|
---|
2090 | $(SED) -f include/VBox/err.sed --output include/VBox/err.mac include/VBox/err.h
|
---|
2091 | $(APPEND) include/VBox/err.mac '%include "iprt/err.mac"'
|
---|
2092 | $(SED) -f include/VBox/err.sed --output include/iprt/err.mac include/iprt/err.h
|
---|
2093 | $(SED) -f include/VBox/various.sed --output include/iprt/x86.mac include/iprt/x86.h
|
---|
2094 | $(SED) -f include/VBox/various.sed --output include/iprt/formats/dwarf.mac include/iprt/formats/dwarf.h
|
---|
2095 | $(APPEND) include/iprt/x86.mac '%include "iprt/x86extra.mac"'
|
---|
2096 | $(SED) -f include/VBox/various.sed --output include/VBox/apic.mac include/VBox/apic.h
|
---|
2097 | $(SED) -f include/VBox/various.sed --output include/VBox/bios.mac include/VBox/bios.h
|
---|
2098 | $(SED) -f include/VBox/various.sed --output include/VBox/param.mac include/VBox/param.h
|
---|
2099 | $(SED) -f include/VBox/various.sed --output include/VBox/VMMDevTesting.mac include/VBox/VMMDevTesting.h
|
---|
2100 |
|
---|
2101 |
|
---|
2102 | #
|
---|
2103 | # Legacy.
|
---|
2104 | #
|
---|
2105 | vslick.h:
|
---|
2106 | $(ECHO) This is now done by gen-slickedit-workspace.sh/cmd.
|
---|
2107 | exit 1
|
---|
2108 |
|
---|
2109 |
|
---|
2110 | #
|
---|
2111 | # Add fetching of the tools to the 'up[date][2]' targets.
|
---|
2112 | #
|
---|
2113 | up update up2 update2::
|
---|
2114 | ifndef VBOX_OSE
|
---|
2115 | +$(MAKE) -C tools fetch
|
---|
2116 | else
|
---|
2117 | $(MAKE) -C tools -f Makefile-ose.kmk fetch
|
---|
2118 | endif
|
---|
2119 |
|
---|
2120 |
|
---|
2121 | #
|
---|
2122 | # Aliases for building the SDK.
|
---|
2123 | #
|
---|
2124 | .NOTPARALLEL: sdk sdk-fetch
|
---|
2125 | sdk:
|
---|
2126 | + $(KMK) VBOX_ONLY_SDK=1 \
|
---|
2127 | pass_bldprogs pass_others pass_installs pass_packing
|
---|
2128 |
|
---|
2129 | sdk-fetch:
|
---|
2130 | + $(KMK) VBOX_ONLY_SDK=1 -C tools
|
---|
2131 |
|
---|
2132 |
|
---|
2133 | #
|
---|
2134 | # Build the essentials to run a VM. Incomplete. Use with care!
|
---|
2135 | #
|
---|
2136 | quick: \
|
---|
2137 | VBoxRT \
|
---|
2138 | VBoxVMM \
|
---|
2139 | VMMR0 \
|
---|
2140 | VBoxDD \
|
---|
2141 | VBoxDDR0 \
|
---|
2142 | VBoxDD2 \
|
---|
2143 | VBoxDD2R0 \
|
---|
2144 | VBoxC \
|
---|
2145 | VBoxSVC \
|
---|
2146 | $(if-expr defined(VBOX_WITH_RAW_MODE),VMMRC VBoxDDRC VBoxDD2RC,) \
|
---|
2147 | $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB) && "$(KBUILD_TARGET)" == "win",VBoxProxyStub,) \
|
---|
2148 | $(if-expr defined(VBOX_WITH_SDS),VBoxSDS,) \
|
---|
2149 | $(if-expr defined(VBOX_WITH_QTGUI),VirtualBox,)
|
---|