Skip to content

Commit

Permalink
Add option to adjust RPMSG_BUFFER_SIZE during CMake build
Browse files Browse the repository at this point in the history
Signed-off-by: Gaute Nilsson <gaute.nilsson@siemens.com>
  • Loading branch information
Gaute Nilsson committed Feb 18, 2020
1 parent 007f2fe commit 5449c5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5449c5d

Please sign in to comment.