diff --git a/README.md b/README.md index 7a26873..2ce5e44 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ * `s390_32` - if the value is `s390` * `s390_64` if the value is `s390x` * `riscv` if the value is `riscv` +* `e2k` if the value is `e2k` Note: The bitness part of this property relies on the bitness of the JVM binary, e.g. You'll get the property that ends with `_32` if you run a 32-bit JVM on a 64-bit OS. diff --git a/src/main/java/kr/motd/maven/os/Detector.java b/src/main/java/kr/motd/maven/os/Detector.java index 305ed89..56555c1 100644 --- a/src/main/java/kr/motd/maven/os/Detector.java +++ b/src/main/java/kr/motd/maven/os/Detector.java @@ -248,6 +248,9 @@ private static String normalizeArch(String value) { if ("riscv".equals(value)) { return "riscv"; } + if ("e2k".equals(value)) { + return "e2k"; + } return UNKNOWN; }