nuttx-mirror/arch/risc-v
Huang Qi 1b8d5a4367 arch/risc-v: Refactor LLVM CPU type handling in Toolchain.cmake
- Replace direct string comparisons with regex pattern matching for ARCHCPUEXTFLAGS
- Change from using LLVM_CPUFLAGS list to setting LLVM_CPUTYPE directly
- Simplify CPU type detection logic while maintaining same functionality
- Use more consistent string variable naming convention

This change makes the CPU type detection more flexible and maintainable
while keeping the same behavior for supported RISC-V configurations.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-10 02:06:19 +08:00
..
include arch/risc-v: Make CPU index handling based on ARCH_RV_CPUID_MAP 2025-01-08 13:48:00 +02:00
src arch/risc-v: Refactor LLVM CPU type handling in Toolchain.cmake 2025-01-10 02:06:19 +08:00
CMakeLists.txt arch/risk-v: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/risc-v: Make CPU index handling based on ARCH_RV_CPUID_MAP 2025-01-08 13:48:00 +02:00