diff --git a/cmake/options.cmake b/cmake/options.cmake index 93f6c4e76..0d05fd1bf 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -74,5 +74,9 @@ endif (WITH_ZEPHYR) option (WITH_LIBMETAL_FIND "Check Libmetal library can be found" ON) +if (DEFINED RPMSG_BUFFER_SIZE) + add_definitions( -DRPMSG_BUFFER_SIZE=${RPMSG_BUFFER_SIZE} ) +endif (DEFINED RPMSG_BUFFER_SIZE) + message ("-- C_FLAGS : ${CMAKE_C_FLAGS}") # vim: expandtab:ts=2:sw=2:smartindent