zephyr/arch/riscv/CMakeLists.txt
Daniel Leung 97dc67e666 riscv: syscalls: use zephyr_syscall_header
This adds a few line use zephyr_syscall_header() to include
headers containing syscall function prototypes.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-06-17 07:57:45 -04:00

12 lines
310 B
CMake

# SPDX-License-Identifier: Apache-2.0
add_subdirectory(core)
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/arch/riscv/error.h)
if(CONFIG_64BIT)
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf64-littleriscv)
else()
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-littleriscv)
endif()