65 # Do not change or remove the following line, it is needed for consistency checks: 66 DATE_WHEN_GENERATED=@DATE_WHEN_GENERATED@ 67 68 ############################################################################### 69 # 70 # Initialization / Boot-strapping 71 # 72 # The bootstrapping process needs to solve the "chicken or the egg" problem, 73 # thus it jumps back and forth, each time gaining something needed later on. 74 # 75 ############################################################################### 76 77 # If we are requested to print additional help, do that and then exit. 78 # This must be the very first call. 79 HELP_PRINT_ADDITIONAL_HELP_AND_EXIT 80 81 # Basic initialization that must happen first of all in the normal process. 82 BASIC_INIT 83 BASIC_SETUP_FUNDAMENTAL_TOOLS 84 85 # Now we can determine OpenJDK build and target platforms. This is required to 86 # have early on. 87 PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET 88 89 # Continue setting up basic stuff. Most remaining code require fundamental tools. 90 BASIC_SETUP_PATHS 91 92 # Check if it's a pure open build or if custom sources are to be used. 93 JDKOPT_SETUP_OPEN_OR_CUSTOM 94 95 # These are needed to be able to create a configuration name (and thus the output directory) 96 JDKOPT_SETUP_JDK_VARIANT 97 JDKOPT_SETUP_JVM_INTERPRETER 98 JDKOPT_SETUP_JVM_VARIANTS 99 JDKOPT_SETUP_DEBUG_LEVEL 100 101 # With basic setup done, call the custom early hook. 102 CUSTOM_EARLY_HOOK 103 104 # Check if we have devkits, extra paths or sysroot set. 105 BASIC_SETUP_DEVKIT 106 107 # To properly create a configuration name, we need to have the OpenJDK target 108 # and options (variants and debug level) parsed. 109 BASIC_SETUP_OUTPUT_DIR 110 111 # Must be done before we can call HELP_MSG_MISSING_DEPENDENCY. 112 HELP_SETUP_DEPENDENCY_HELP 113 114 # Setup tools that requires more complex handling, or that is not needed by the configure script. 115 BASIC_SETUP_COMPLEX_TOOLS 116 BASIC_CHECK_BASH_OPTIONS 117 118 # Check if pkg-config is available. 119 PKG_PROG_PKG_CONFIG 120 121 # After basic tools have been setup, we can check build os specific details. 122 PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION 123 124 # Setup builddeps, for automatic downloading of tools we need. 125 # This is needed before we can call BDEPS_CHECK_MODULE, which is done in | 65 # Do not change or remove the following line, it is needed for consistency checks: 66 DATE_WHEN_GENERATED=@DATE_WHEN_GENERATED@ 67 68 ############################################################################### 69 # 70 # Initialization / Boot-strapping 71 # 72 # The bootstrapping process needs to solve the "chicken or the egg" problem, 73 # thus it jumps back and forth, each time gaining something needed later on. 74 # 75 ############################################################################### 76 77 # If we are requested to print additional help, do that and then exit. 78 # This must be the very first call. 79 HELP_PRINT_ADDITIONAL_HELP_AND_EXIT 80 81 # Basic initialization that must happen first of all in the normal process. 82 BASIC_INIT 83 BASIC_SETUP_FUNDAMENTAL_TOOLS 84 85 # Check if we have devkits, extra paths or sysroot set. 86 BASIC_SETUP_DEVKIT 87 88 # Now we can determine OpenJDK build and target platforms. This is required to 89 # have early on. 90 PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET 91 92 # Continue setting up basic stuff. Most remaining code require fundamental tools. 93 BASIC_SETUP_PATHS 94 95 # Check if it's a pure open build or if custom sources are to be used. 96 JDKOPT_SETUP_OPEN_OR_CUSTOM 97 98 # These are needed to be able to create a configuration name (and thus the output directory) 99 JDKOPT_SETUP_JDK_VARIANT 100 JDKOPT_SETUP_JVM_INTERPRETER 101 JDKOPT_SETUP_JVM_VARIANTS 102 JDKOPT_SETUP_DEBUG_LEVEL 103 104 # With basic setup done, call the custom early hook. 105 CUSTOM_EARLY_HOOK 106 107 # To properly create a configuration name, we need to have the OpenJDK target 108 # and options (variants and debug level) parsed. 109 BASIC_SETUP_OUTPUT_DIR 110 111 # Must be done before we can call HELP_MSG_MISSING_DEPENDENCY. 112 HELP_SETUP_DEPENDENCY_HELP 113 114 # Setup tools that requires more complex handling, or that is not needed by the configure script. 115 BASIC_SETUP_COMPLEX_TOOLS 116 BASIC_CHECK_BASH_OPTIONS 117 118 # Check if pkg-config is available. 119 PKG_PROG_PKG_CONFIG 120 121 # After basic tools have been setup, we can check build os specific details. 122 PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION 123 124 # Setup builddeps, for automatic downloading of tools we need. 125 # This is needed before we can call BDEPS_CHECK_MODULE, which is done in |