soc: intel_s1000: fix XCC build error when CONFIG_LOG_MINIMAL=y
During LOG_*() macro expansions, XCC expands everything even though IS_ENABLED() is used. This resulting in various log*() functions (e.g. log_0(), log_1(), etc.) being required for linking. However, when CONFIG_LOG_MINIMAL=y, those functions are not compiled from the logging subsystem. Therefore, to get past the linking error, dummy versions are being provided. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
bac0a93d62
commit
24b9542eba
2 changed files with 105 additions and 0 deletions
|
@ -2,3 +2,4 @@
|
|||
|
||||
zephyr_library_sources_ifdef(CONFIG_CPLUSPLUS cpp_fixes.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_NEWLIB_LIBC newlib_fixes.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_LOG_MINIMAL log_minimal_fixes.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue