mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00

Add support for [OpenHarmony] targets. The `ohos` targets are available [in `LLVM`] and documented in the [Rust target documentation]. Known targets in Rust: - aarch64-unknown-linux-ohos - armv7-unknown-linux-ohos - x86_64-unknown-linux-ohos Known targets in Clang: - arm-linux-ohos - aarch64-linux-ohos - x86_64-linux-ohos There are also some additional targets available in clang, e.g. `liteos-ohos`, but I don't know much about those targets, so I'm leaving `liteos-ohos` out of scope for this patch. [OpenHarmony]: https://gitee.com/openharmony/docs/ [in `LLVM`]: https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/OHOS.cpp [Rust target documentation]: https://doc.rust-lang.org/rustc/platform-support/openharmony.html * config.sub ($os == ohos*): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data (aarch64-linux-ohos): New entry. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Description
No description provided
Languages
Perl
77.6%
Shell
18.9%
Makefile
3.5%