Skip to content
Commit 74cf778e authored by Vijayenthiran Subramaniam's avatar Vijayenthiran Subramaniam Committed by tarek-arm
Browse files

cmake: set SCP_LOG_LEVEL only if it is not defined



SCP_LOG_LEVEL is used to define the minimum logging level for the
firmware. Currently, the framework's CMakeLists sets it to INFO for
Debug and WARN for release builds. It does not honor SCP_LOG_LEVEL
variable defined through compiler definition or through another
CMakeLists file, which locks SCP_LOG_LEVEL either to INFO or WARN. Fix
this by setting the SCP_LOG_LEVEL only if it is not defined already.

Signed-off-by: Vijayenthiran Subramaniam's avatarVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Change-Id: I767fd7e126359c38ef8fccd62c571d048c3b3f65
parent d35c5fbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment