1 #
2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
171 # User supplied flags should be used when configure detects compilers
172 FLAGS_SETUP_USER_SUPPLIED_FLAGS
173 # The sysroot cflags are needed for configure to be able to run the compilers
174 FLAGS_SETUP_SYSROOT_FLAGS
175
176 # Then detect the actual binaries needed
177 TOOLCHAIN_PRE_DETECTION
178 TOOLCHAIN_DETECT_TOOLCHAIN_CORE
179 TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA
180 TOOLCHAIN_POST_DETECTION
181
182 # Finally do some processing after the detection phase
183 TOOLCHAIN_SETUP_BUILD_COMPILERS
184 TOOLCHAIN_SETUP_LEGACY
185 TOOLCHAIN_MISC_CHECKS
186
187 # Setup the JTReg Regression Test Harness.
188 TOOLCHAIN_SETUP_JTREG
189
190 FLAGS_SETUP_INIT_FLAGS
191
192 # FIXME: Currently we must test this after toolchain but before flags. Fix!
193
194 # Now we can test some aspects on the target using configure macros.
195 PLATFORM_SETUP_OPENJDK_TARGET_BITS
196 PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS
197
198 # Configure flags for the tools
199 FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS
200 FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION
201 FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK
202 FLAGS_SETUP_COMPILER_FLAGS_MISC
203
204 # Setup debug symbols (need objcopy from the toolchain for that)
205 JDKOPT_SETUP_DEBUG_SYMBOLS
206 JDKOPT_SETUP_CODE_COVERAGE
207
208 ###############################################################################
209 #
210 # Check dependencies for external and internal libraries.
211 #
212 ###############################################################################
|
1 #
2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
171 # User supplied flags should be used when configure detects compilers
172 FLAGS_SETUP_USER_SUPPLIED_FLAGS
173 # The sysroot cflags are needed for configure to be able to run the compilers
174 FLAGS_SETUP_SYSROOT_FLAGS
175
176 # Then detect the actual binaries needed
177 TOOLCHAIN_PRE_DETECTION
178 TOOLCHAIN_DETECT_TOOLCHAIN_CORE
179 TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA
180 TOOLCHAIN_POST_DETECTION
181
182 # Finally do some processing after the detection phase
183 TOOLCHAIN_SETUP_BUILD_COMPILERS
184 TOOLCHAIN_SETUP_LEGACY
185 TOOLCHAIN_MISC_CHECKS
186
187 # Setup the JTReg Regression Test Harness.
188 TOOLCHAIN_SETUP_JTREG
189
190 FLAGS_SETUP_INIT_FLAGS
191
192 # Now we can test some aspects on the target using configure macros.
193 PLATFORM_SETUP_OPENJDK_TARGET_BITS
194 PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS
195
196 # Configure flags for the tools
197 FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS
198 FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION
199 FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK
200 FLAGS_SETUP_COMPILER_FLAGS_MISC
201
202 # Setup debug symbols (need objcopy from the toolchain for that)
203 JDKOPT_SETUP_DEBUG_SYMBOLS
204 JDKOPT_SETUP_CODE_COVERAGE
205
206 ###############################################################################
207 #
208 # Check dependencies for external and internal libraries.
209 #
210 ###############################################################################
|