zephyr/drivers/smbus/CMakeLists.txt
Daniel Leung 26ecaba4af drivers: 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

11 lines
328 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/smbus.h)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_SMBUS_SHELL smbus_shell.c)
zephyr_library_sources_ifdef(CONFIG_SMBUS_INTEL_PCH intel_pch_smbus.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE smbus_handlers.c)