Changeset 91729 in vbox
- Timestamp:
- Oct 14, 2021 2:40:32 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/Config.kmk (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r91609 r91729 323 323 # exist and which value they should have (usually 1, but anyway). 324 324 # 325 326 # Indicate VBOX_ONLY build if any of the VBOX_ONLY_* variables are set. 327 VBOX_ONLY_BUILD := $(strip $(foreach x, ADDITIONS DOCS EXTPACKS SDK VALIDATIONKIT\ 328 , $(if-expr defined(VBOX_ONLY_$(x)),VBOX_ONLY_$(x)))) 329 if $(words $(VBOX_ONLY_BUILD)) > 1 330 $(error VBox: More than one VBOX_ONLY build enabled! $(VBOX_ONLY_BUILD)) 331 endif 325 332 326 333 # Select new Xcode based on host OS X version. … … 680 687 VBOX_WITH_MAIN_USB_ID_DATABASE = 1 681 688 # Whether to enable error message translation in Main. 682 VBOX_WITH_MAIN_NLS = 1 689 ifndef VBOX_ONLY_BUILD 690 VBOX_WITH_MAIN_NLS = 1 691 endif 683 692 # Whether to enable error message translation in Extension VM Pack. 684 VBOX_WITH_PUEL_NLS = 1 693 if !defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_EXTPACKS) 694 VBOX_WITH_PUEL_NLS = 1 695 endif 685 696 # Set this to prefix all C symbols in XPCOM, to avoid dynamic linking problems 686 697 # caused by our XPCOM library polluting the symbol namespace for system libs. … … 1259 1270 1260 1271 # 1261 # VBOX_WITH_NLS controls all NLS (except the GUI at the moment). 1262 # We disable NLS for SDK-only builds. 1272 # Bitch about old settings. 1273 # 1274 ifdef VBOX_WITHOUT_LINUX_COMPILER_H 1275 $(warning VBOX_WITHOUT_LINUX_COMPILER_H was renamed to VBOX_WITH_LINUX_COMPILER_H, the meaning is inverted.) 1276 endif 1277 1278 # 1279 # Indicate VBOX_ONLY build if any of the VBOX_ONLY_* variables are set. 1280 # 1281 VBOX_ONLY_BUILD_NEW := $(strip $(foreach x, ADDITIONS DOCS EXTPACKS SDK VALIDATIONKIT\ 1282 , $(if-expr defined(VBOX_ONLY_$(x)),VBOX_ONLY_$(x)))) 1283 ifneq ($(VBOX_ONLY_BUILD),$(VBOX_ONLY_BUILD_NEW)) 1284 $(error VBox: LocalConfig.kmk changed the VBOX_ONLY_ build status, VBOX_ONLY_* must be on the kmk command line or in the environment: $(VBOX_ONLY_BUILD) -> $(VBOX_ONLY_BUILD_NEW)) 1285 endif 1286 1287 # 1288 # Enforce VBOX_WITH_NLS. It controls all NLS (except the GUI at the moment). 1263 1289 # 1264 1290 if defined(VBOX_WITH_MAIN_NLS) || defined(VBOX_WITH_PUEL_NLS) 1265 1291 VBOX_WITH_NLS := 1 1266 endif 1267 # 1268 # Additions does not use NLS support yet 1269 # 1270 if defined(VBOX_ONLY_SDK) || defined(VBOX_ONLY_ADDITIONS) 1271 override VBOX_WITH_NLS := 1272 endif 1273 ifndef VBOX_WITH_NLS # (We test again to account for 'override VBOX_WITH_NLS :=') 1274 VBOX_WITH_MAIN_NLS := 1275 VBOX_WITH_PUEL_NLS := 1276 endif 1277 1278 # 1279 # Bitch about old settings. 1280 # 1281 ifdef VBOX_WITHOUT_LINUX_COMPILER_H 1282 $(warning VBOX_WITHOUT_LINUX_COMPILER_H was renamed to VBOX_WITH_LINUX_COMPILER_H, the meaning is inverted.) 1283 endif 1284 1285 # 1286 # Indicate VBOX_ONLY build if any of the VBOX_ONLY_* variables are set. 1287 # 1288 VBOX_ONLY_BUILD := $(strip $(foreach x, ADDITIONS DOCS EXTPACKS SDK VALIDATIONKIT\ 1289 , $(if-expr defined(VBOX_ONLY_$(x)),VBOX_ONLY_$(x)))) 1290 if $(words $(VBOX_ONLY_BUILD)) > 1 1291 $(error VBox: More than one VBOX_ONLY build enabled! $(VBOX_ONLY_BUILD)) 1292 ifndef VBOX_WITH_NLS # (We test again to account for 'override VBOX_WITH_NLS :=') 1293 VBOX_WITH_MAIN_NLS := 1294 VBOX_WITH_PUEL_NLS := 1295 endif 1292 1296 endif 1293 1297
Note:
See TracChangeset
for help on using the changeset viewer.

