diff options
author | 2025-02-04 13:05:11 +0100 | |
---|---|---|
committer | 2025-02-04 14:29:45 +0100 | |
commit | 41392c5e2fca3a46cc967288ccb1e8c368727ca9 (patch) | |
tree | a3ebe3c6c0ef5fb4e5413aa2f4dc18f2fec19488 /build | |
parent | 7215b9172517b3535cbdd590cf7fca2762530210 (diff) |
build: check cmake3 command silently
Avoid which shell command to output verbose errors like
"""
which: no cmake3 in (/usr/sbin:/sbin:/bin: ...
"""
Type: make
Change-Id: Ib9a5fee72055b80b5e4e4c73280b19fea736c352
Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/build_common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build_common.mk b/build/build_common.mk index 88529a4537e..8f8a0a1db43 100644 --- a/build/build_common.mk +++ b/build/build_common.mk @@ -41,7 +41,7 @@ L := $(WORKSPACE)/archives/install-deps-logs $(shell rm -rf $(L) && mkdir -p $(L)) endif -ifneq ($(shell which cmake3),) +ifneq ($(shell which cmake3 2>/dev/null),) CMAKE?=cmake3 else CMAKE?=cmake |