soc: intel_s1000: move XCC fixes into its own directory

Turns out it's going to have more fixes than just Newlib.
So put them into one directory.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2019-12-16 09:35:03 -08:00 committed by Johan Hedberg
commit ac4ebe4ffb
3 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,5 @@ zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
zephyr_library_sources(soc.c)
if("${ZEPHYR_TOOLCHAIN_VARIANT}" STREQUAL "xcc")
if(CONFIG_NEWLIB_LIBC)
zephyr_library_sources(xcc_newlib_fix.c)
endif()
add_subdirectory(xcc)
endif()

View file

@ -0,0 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library_sources_ifdef(CONFIG_NEWLIB_LIBC newlib_fixes.c)