kernel: move posix header to posix/

Having posix headers in the default include path causes issues with the
posix port. Move to a sub-directory to avoid any conflicts.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-11-23 07:55:04 -05:00 committed by Anas Nashif
commit 274ad46a84
3 changed files with 2 additions and 0 deletions

View file

@ -24,6 +24,7 @@ add_library(kernel
work_q.c
)
target_include_directories(kernel PRIVATE ${PROJECT_SOURCE_DIR}/include/posix)
target_sources_ifdef(CONFIG_INT_LATENCY_BENCHMARK kernel PRIVATE int_latency_bench.c)
target_sources_ifdef(CONFIG_STACK_CANARIES kernel PRIVATE compiler_stack_protect.c)
target_sources_ifdef(CONFIG_SYS_CLOCK_EXISTS kernel PRIVATE timer.c)