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>
This commit is contained in:
Daniel Leung 2023-05-24 14:37:00 -07:00 committed by Anas Nashif
commit 97dc67e666

View file

@ -2,6 +2,8 @@
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()