mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-06-29 00:23:06 +00:00
make cmakelint happy
This commit is contained in:
parent
2df08c48fa
commit
dadbbdf5d4
@ -3386,7 +3386,7 @@ if(ENABLE_MAX2771)
|
||||
set(TARGET_ROOTFS_PATH "")
|
||||
endif()
|
||||
find_program(STRINGS_EXECUTABLE strings)
|
||||
if (NOT STRINGS_EXECUTABLE)
|
||||
if(NOT STRINGS_EXECUTABLE)
|
||||
message(STATUS "The 'strings' command could not be found. See https://www.gnu.org/software/binutils/")
|
||||
message(STATUS " You can try to install it by typing:")
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|kFreeBSD|GNU")
|
||||
@ -3401,7 +3401,7 @@ if(ENABLE_MAX2771)
|
||||
message(FATAL_ERROR "Binutils are required to build GNSS-SDR for SoC FPGA devices using the MAX2771 option.")
|
||||
endif()
|
||||
set(DTB_FILE "${TARGET_ROOTFS_PATH}/boot/devicetree/system-top.dtb")
|
||||
if (EXISTS "${DTB_FILE}")
|
||||
if(EXISTS "${DTB_FILE}")
|
||||
message(STATUS "Found DTB file: ${DTB_FILE}")
|
||||
# Run the strings command and grep for "spidev"
|
||||
execute_process(
|
||||
@ -3411,7 +3411,7 @@ if(ENABLE_MAX2771)
|
||||
RESULT_VARIABLE GREP_RESULT
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if (GREP_RESULT EQUAL 0)
|
||||
if(GREP_RESULT EQUAL 0)
|
||||
message(STATUS "Found spidev-compatible peripheral in ${DTB_FILE}.")
|
||||
else()
|
||||
message(STATUS "SPIdev driver not found, its installation is required.")
|
||||
@ -3440,7 +3440,7 @@ if(ENABLE_DMA_PROXY)
|
||||
set(TARGET_ROOTFS_PATH "")
|
||||
endif()
|
||||
set(DMA_PROXY_FILE "${TARGET_ROOTFS_PATH}/lib/modules/5.10.0-xilinx-v2021.2/extra/dma-proxy.ko")
|
||||
if (EXISTS "${DMA_PROXY_FILE}")
|
||||
if(EXISTS "${DMA_PROXY_FILE}")
|
||||
message(STATUS "Found dma-proxy.ko file: ${DMA_PROXY_FILE}")
|
||||
else()
|
||||
if(ENABLE_PACKAGING)
|
||||
|
Loading…
x
Reference in New Issue
Block a user