Skip to content

Commit 4b0c326

Browse files
committed
Add e2k CPU
1 parent 5e92cef commit 4b0c326

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build

+6
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,7 @@ validate_args()
988988

989989
if [[ "$cpu" != "aarch64" ]] && \
990990
[[ "$cpu" != "arm" ]] && \
991+
[[ "$cpu" != "e2k" ]] && \
991992
[[ "$cpu" != "i686" ]] && \
992993
[[ "$cpu" != "mips" ]] && \
993994
[[ "$cpu" != "ppc" ]] && \
@@ -1018,6 +1019,11 @@ validate_args()
10181019
errmsg "ERROR: aarch64 builds are 64-bit only."
10191020
fi
10201021

1022+
if [[ "$cpu" == "e2k" ]] && \
1023+
[[ "$arch" == "32" ]]; then
1024+
errmsg "ERROR: e2k builds are 64-bit only."
1025+
fi
1026+
10211027
if [[ "$cpu" == "x86" ]] || \
10221028
[[ "$cpu" == "i686" ]]; then
10231029
cpu=""

0 commit comments

Comments
 (0)