forked from nuttx/nuttx-update
syslog: fix ramlog not work issue with cmake
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
This commit is contained in:
parent
2ed9bd5e71
commit
adc52bf968
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ endif()
|
|||
|
||||
if(CONFIG_RAMLOG)
|
||||
list(APPEND SRCS ramlog.c)
|
||||
if(CONFIG_RAMLOG_BUFFER_SECTION)
|
||||
target_compile_definitions(
|
||||
drivers PRIVATE -DRAMLOG_BUFFER_SECTION="${CONFIG_RAMLOG_BUFFER_SECTION}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Include SYSLOG drivers (only one should be enabled)
|
||||
|
|
Loading…
Reference in a new issue