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:
parent
d390bb2d66
commit
ac4ebe4ffb
3 changed files with 4 additions and 3 deletions
|
@ -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()
|
||||
|
|
3
soc/xtensa/intel_s1000/xcc/CMakeLists.txt
Normal file
3
soc/xtensa/intel_s1000/xcc/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_NEWLIB_LIBC newlib_fixes.c)
|
Loading…
Add table
Add a link
Reference in a new issue