19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
20 # |
20 # |
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
22 # or visit www.oracle.com if you need additional information or have any |
23 # questions. |
23 # questions. |
|
24 # |
|
25 |
|
26 # |
|
27 # This file has been modified by Loongson Technology in 2018. These |
|
28 # modifications are Copyright (c) 2018 Loongson Technology, and are made |
|
29 # available on the same license terms set forth above. |
24 # |
30 # |
25 |
31 |
26 ############################################################################### |
32 ############################################################################### |
27 # |
33 # |
28 # Includes and boilerplate |
34 # Includes and boilerplate |
161 # FIXME: Currently we must test this after paths but before flags. Fix! |
167 # FIXME: Currently we must test this after paths but before flags. Fix! |
162 |
168 |
163 # And we can test some aspects on the target using configure macros. |
169 # And we can test some aspects on the target using configure macros. |
164 PLATFORM_SETUP_OPENJDK_TARGET_BITS |
170 PLATFORM_SETUP_OPENJDK_TARGET_BITS |
165 PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS |
171 PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS |
|
172 GET_BUILDER_AND_HOST_DATA |
166 |
173 |
167 # Configure flags for the tools |
174 # Configure flags for the tools |
168 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_LIBS |
175 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_LIBS |
169 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION |
176 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION |
170 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_JDK |
177 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_JDK |