When compiling the components under the arch directory, the compiler include paths for arch and kernel private headers need to be specified. This was previously done by adding 'zephyr_library_include_directories' to CMakeLists.txt file for every component under the arch directory, and this resulted in a significant amount of duplicate code. This commit uses the CMake 'include_directories' command in the root CMakeLists.txt to simplify specification of the private header include paths for all the arch components. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
13 lines
198 B
CMake
13 lines
198 B
CMake
#
|
|
# Copyright (c) 2018 Synopsys, Inc. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(
|
|
arc_sjli.c
|
|
arc_secure.S
|
|
secure_sys_services.c
|
|
)
|