From 0f3169648b4bf46e23090b441e142823669cc19e Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Wed, 15 Dec 2021 09:28:09 +0100 Subject: [PATCH] cmake: Update messages mode using INFO to the correct mode STATUS Search and replace `message(INFO " ` with `message(STATUS "`. This would otherwise print "INFO --- samples/drivers/ipm/ipm_mcux/CMakeLists.txt | 2 +- samples/drivers/ipm/ipm_mcux/remote/CMakeLists.txt | 2 +- samples/drivers/mbox/CMakeLists.txt | 2 +- samples/drivers/mbox/remote/CMakeLists.txt | 2 +- samples/subsys/ipc/ipc_service/static_vrings_mi/CMakeLists.txt | 2 +- .../ipc/ipc_service/static_vrings_mi/remote/CMakeLists.txt | 2 +- samples/subsys/ipc/openamp/CMakeLists.txt | 2 +- samples/subsys/ipc/openamp/remote/CMakeLists.txt | 2 +- samples/subsys/ipc/rpmsg_service/CMakeLists.txt | 2 +- samples/subsys/ipc/rpmsg_service/remote/CMakeLists.txt | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/samples/drivers/ipm/ipm_mcux/CMakeLists.txt b/samples/drivers/ipm/ipm_mcux/CMakeLists.txt index 312ed0b1a05..e20d02e1e34 100644 --- a/samples/drivers/ipm/ipm_mcux/CMakeLists.txt +++ b/samples/drivers/ipm/ipm_mcux/CMakeLists.txt @@ -14,7 +14,7 @@ else() message(FATAL_ERROR "${BOARD} was not supported for this sample") endif() -message(INFO " ${BOARD} compile as Master in this sample") +message(STATUS "${BOARD} compile as Master in this sample") find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(ipm_mcux) diff --git a/samples/drivers/ipm/ipm_mcux/remote/CMakeLists.txt b/samples/drivers/ipm/ipm_mcux/remote/CMakeLists.txt index c92be82d322..e3f9e636568 100644 --- a/samples/drivers/ipm/ipm_mcux/remote/CMakeLists.txt +++ b/samples/drivers/ipm/ipm_mcux/remote/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.20.0) if(("${BOARD}" STREQUAL "lpcxpresso54114_m0") OR "${BOARD}" STREQUAL "lpcxpresso55s69_cpu1") - message(INFO " ${BOARD} compiles as remote in this sample") + message(STATUS "${BOARD} compiles as remote in this sample") else() message(FATAL_ERROR "${BOARD} was not supported for this sample") endif() diff --git a/samples/drivers/mbox/CMakeLists.txt b/samples/drivers/mbox/CMakeLists.txt index 7356ed085fd..5fe78156f38 100644 --- a/samples/drivers/mbox/CMakeLists.txt +++ b/samples/drivers/mbox/CMakeLists.txt @@ -14,7 +14,7 @@ else() message(FATAL_ERROR "${BOARD} is not supported for this sample") endif() -message(INFO " ${BOARD} compile as Main in this sample") +message(STATUS "${BOARD} compile as Main in this sample") find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(mbox_ipc) diff --git a/samples/drivers/mbox/remote/CMakeLists.txt b/samples/drivers/mbox/remote/CMakeLists.txt index 47e80e8af10..94e87d6fcdc 100644 --- a/samples/drivers/mbox/remote/CMakeLists.txt +++ b/samples/drivers/mbox/remote/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.20.0) if("${BOARD}" STREQUAL "nrf5340dk_nrf5340_cpunet") - message(INFO " ${BOARD} compile as remote in this sample") + message(STATUS "${BOARD} compile as remote in this sample") else() message(FATAL_ERROR "${BOARD} is not supported for this sample") endif() diff --git a/samples/subsys/ipc/ipc_service/static_vrings_mi/CMakeLists.txt b/samples/subsys/ipc/ipc_service/static_vrings_mi/CMakeLists.txt index 487bd812ba2..65067b78309 100644 --- a/samples/subsys/ipc/ipc_service/static_vrings_mi/CMakeLists.txt +++ b/samples/subsys/ipc/ipc_service/static_vrings_mi/CMakeLists.txt @@ -15,7 +15,7 @@ else() message(FATAL_ERROR "${BOARD} is not supported for this sample") endif() -message(INFO " ${BOARD} compile as Master in this sample") +message(STATUS "${BOARD} compile as Master in this sample") find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(ipc_service) diff --git a/samples/subsys/ipc/ipc_service/static_vrings_mi/remote/CMakeLists.txt b/samples/subsys/ipc/ipc_service/static_vrings_mi/remote/CMakeLists.txt index f2cc629674e..f5522cbc076 100644 --- a/samples/subsys/ipc/ipc_service/static_vrings_mi/remote/CMakeLists.txt +++ b/samples/subsys/ipc/ipc_service/static_vrings_mi/remote/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.20.0) if("${BOARD}" STREQUAL "nrf5340dk_nrf5340_cpunet" OR "${BOARD}" STREQUAL "bl5340_dvk_cpunet") - message(INFO " ${BOARD} compile as slave in this sample") + message(STATUS "${BOARD} compile as slave in this sample") else() message(FATAL_ERROR "${BOARD} is not supported for this sample") endif() diff --git a/samples/subsys/ipc/openamp/CMakeLists.txt b/samples/subsys/ipc/openamp/CMakeLists.txt index be3168ade57..daf99d8abee 100644 --- a/samples/subsys/ipc/openamp/CMakeLists.txt +++ b/samples/subsys/ipc/openamp/CMakeLists.txt @@ -20,7 +20,7 @@ else() message(FATAL_ERROR "${BOARD} was not supported for this sample") endif() -message(INFO " ${BOARD} compile as Master in this sample") +message(STATUS "${BOARD} compile as Master in this sample") find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(openamp) diff --git a/samples/subsys/ipc/openamp/remote/CMakeLists.txt b/samples/subsys/ipc/openamp/remote/CMakeLists.txt index 5228a3956c0..b5cc53b48f8 100644 --- a/samples/subsys/ipc/openamp/remote/CMakeLists.txt +++ b/samples/subsys/ipc/openamp/remote/CMakeLists.txt @@ -9,7 +9,7 @@ if(("${BOARD}" STREQUAL "lpcxpresso54114_m0") OR "${BOARD}" STREQUAL "lpcxpresso55s69_cpu1" OR "${BOARD}" STREQUAL "mps2_an521_remote" OR "${BOARD}" STREQUAL "v2m_musca_b1_ns") - message(INFO " ${BOARD} compiles as remote in this sample") + message(STATUS "${BOARD} compiles as remote in this sample") else() message(FATAL_ERROR "${BOARD} was not supported for this sample") endif() diff --git a/samples/subsys/ipc/rpmsg_service/CMakeLists.txt b/samples/subsys/ipc/rpmsg_service/CMakeLists.txt index 4a6b3f8cdd7..ab263ab7005 100644 --- a/samples/subsys/ipc/rpmsg_service/CMakeLists.txt +++ b/samples/subsys/ipc/rpmsg_service/CMakeLists.txt @@ -22,7 +22,7 @@ else() message(FATAL_ERROR "${BOARD} was not supported for this sample") endif() -message(INFO " ${BOARD} compile as Master in this sample") +message(STATUS "${BOARD} compile as Master in this sample") find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(rpmsg_service) diff --git a/samples/subsys/ipc/rpmsg_service/remote/CMakeLists.txt b/samples/subsys/ipc/rpmsg_service/remote/CMakeLists.txt index d7881ccc757..a37269c592e 100644 --- a/samples/subsys/ipc/rpmsg_service/remote/CMakeLists.txt +++ b/samples/subsys/ipc/rpmsg_service/remote/CMakeLists.txt @@ -10,7 +10,7 @@ if("${BOARD}" STREQUAL "nrf5340dk_nrf5340_cpunet" OR "${BOARD}" STREQUAL "lpcxpresso54114_m0" OR "${BOARD}" STREQUAL "mps2_an521_remote" OR "${BOARD}" STREQUAL "v2m_musca_b1_ns") - message(INFO " ${BOARD} compile as slave in this sample") + message(STATUS "${BOARD} compile as slave in this sample") else() message(FATAL_ERROR "${BOARD} was not supported for this sample") endif()