File tree 3 files changed +23
-0
lines changed
3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ timestamp='2012-02-10'
61
61
# You can get the latest version of this script from:
62
62
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
63
63
64
+ # ===========================================================================
65
+ # (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved
66
+ # ===========================================================================
67
+
64
68
me=` echo " $0 " | sed -e ' s,.*/,,' `
65
69
66
70
usage=" \
@@ -1000,6 +1004,9 @@ EOF
1000
1004
ppc:Linux:* :* )
1001
1005
echo powerpc-unknown-linux-gnu
1002
1006
exit ;;
1007
+ riscv32:Linux:* :* | riscv64:Linux:* :* )
1008
+ echo ${UNAME_MACHINE} -unknown-linux-gnu
1009
+ exit ;;
1003
1010
s390:Linux:* :* | s390x:Linux:* :* )
1004
1011
echo ${UNAME_MACHINE} -ibm-linux
1005
1012
exit ;;
Original file line number Diff line number Diff line change @@ -80,6 +80,10 @@ timestamp='2008-01-16'
80
80
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
81
81
# It is wrong to echo any other type of specification.
82
82
83
+ # ===========================================================================
84
+ # (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved
85
+ # ===========================================================================
86
+
83
87
me=` echo " $0 " | sed -e ' s,.*/,,' `
84
88
85
89
usage=" \
@@ -302,6 +306,7 @@ case $basic_machine in
302
306
| pdp10 | pdp11 | pj | pjl \
303
307
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
304
308
| pyramid \
309
+ | riscv32 | riscv64 \
305
310
| score \
306
311
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
307
312
| sh64 | sh64le \
@@ -383,6 +388,7 @@ case $basic_machine in
383
388
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
384
389
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
385
390
| pyramid-* \
391
+ | riscv32-* | riscv64-* \
386
392
| romp-* | rs6000-* \
387
393
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
388
394
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
Original file line number Diff line number Diff line change 23
23
# questions.
24
24
#
25
25
26
+ # ===========================================================================
27
+ # (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved
28
+ # ===========================================================================
29
+
26
30
# Support macro for PLATFORM_EXTRACT_TARGET_AND_BUILD.
27
31
# Converts autoconf style CPU name to OpenJDK style, into
28
32
# VAR_CPU, VAR_CPU_ARCH, VAR_CPU_BITS and VAR_CPU_ENDIAN.
@@ -114,6 +118,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU],
114
118
VAR_CPU_BITS=64
115
119
VAR_CPU_ENDIAN=little
116
120
;;
121
+ riscv64)
122
+ VAR_CPU=riscv64
123
+ VAR_CPU_ARCH=riscv64
124
+ VAR_CPU_BITS=64
125
+ VAR_CPU_ENDIAN=little
126
+ ;;
117
127
s390)
118
128
VAR_CPU=s390
119
129
VAR_CPU_ARCH=s390
You can’t perform that action at this time.
0 commit comments