zephyr/arch/riscv/CMakeLists.txt

10 lines
237 B
CMake

# SPDX-License-Identifier: Apache-2.0
add_subdirectory(core)
if(CONFIG_64BIT)
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf64-littleriscv)
else()
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-littleriscv)
endif()