equal
deleted
inserted
replaced
161 JDKOPT_SETUP_STATIC_BUILD |
161 JDKOPT_SETUP_STATIC_BUILD |
162 |
162 |
163 # First determine the toolchain type (compiler family) |
163 # First determine the toolchain type (compiler family) |
164 TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE |
164 TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE |
165 |
165 |
166 # User supplied flags should be used when configure detects compilers |
166 # The global flags are needed for configure to be able to run the compilers |
167 FLAGS_SETUP_USER_SUPPLIED_FLAGS |
167 # correctly. |
168 # The sysroot cflags are needed for configure to be able to run the compilers |
168 FLAGS_PRE_TOOLCHAIN |
169 FLAGS_SETUP_SYSROOT_FLAGS |
|
170 FLAGS_SETUP_GLOBAL_FLAGS |
|
171 |
169 |
172 # Then detect the actual binaries needed |
170 # Then detect the actual binaries needed |
173 TOOLCHAIN_PRE_DETECTION |
171 TOOLCHAIN_PRE_DETECTION |
174 TOOLCHAIN_DETECT_TOOLCHAIN_CORE |
172 TOOLCHAIN_DETECT_TOOLCHAIN_CORE |
175 TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA |
173 TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA |
183 TOOLCHAIN_SETUP_JTREG |
181 TOOLCHAIN_SETUP_JTREG |
184 |
182 |
185 # Setup Jib dependency tool |
183 # Setup Jib dependency tool |
186 TOOLCHAIN_SETUP_JIB |
184 TOOLCHAIN_SETUP_JIB |
187 |
185 |
188 FLAGS_SETUP_POST_TOOLCHAIN |
186 # After toolchain setup, we need to process some flags to be able to continue. |
|
187 FLAGS_POST_TOOLCHAIN |
189 |
188 |
190 # Now we can test some aspects on the target using configure macros. |
189 # Now we can test some aspects on the target using configure macros. |
191 PLATFORM_SETUP_OPENJDK_TARGET_BITS |
190 PLATFORM_SETUP_OPENJDK_TARGET_BITS |
192 PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS |
191 PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS |
193 |
192 |
194 # Configure flags for the tools |
193 # Configure flags for the tools |
195 FLAGS_SETUP_FLAGS_PER_TYPE |
194 FLAGS_SETUP_FLAGS |
196 FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION |
|
197 FLAGS_SETUP_CFLAGS |
|
198 FLAGS_SETUP_LDFLAGS |
|
199 FLAGS_SETUP_MISC_FLAGS |
|
200 |
195 |
201 #FIXME: REMOVE |
196 #FIXME: REMOVE |
202 FLAGS_SORT_FLAGS(JVM_CFLAGS) |
197 FLAGS_SORT_FLAGS(JVM_CFLAGS) |
203 FLAGS_SORT_FLAGS(CFLAGS_JDKLIB) |
198 FLAGS_SORT_FLAGS(CFLAGS_JDKLIB) |
204 FLAGS_SORT_FLAGS(CFLAGS_JDKEXE) |
199 FLAGS_SORT_FLAGS(CFLAGS_JDKEXE) |