Add option to adjust RPMSG_BUFFER_SIZE during CMake build

Signed-off-by: Gaute Nilsson <gaute.nilsson@siemens.com>
This commit is contained in:
Gaute Nilsson
2020-04-23 09:54:43 +02:00
committed by Arnaud Pouliquen
parent 75a6520fe8
commit 2141a3c5d5
+4
View File
@@ -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