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 <[email protected]>
libmemif_source = extras
libmemif_configure_subdir = libmemif
-ifneq ($(shell which cmake3),)
+ifneq ($(shell which cmake3 2>/dev/null),)
CMAKE?=cmake3
else
CMAKE?=cmake
sample-plugin_LDFLAGS = $(call installed_libs_fn, vpp)
sample-plugin_PATH = $(call package_install_dir_fn,vpp)/bin
-ifneq ($(shell which cmake3),)
+ifneq ($(shell which cmake3 2>/dev/null),)
CMAKE?=cmake3
else
CMAKE?=cmake
vpp_source = src
-ifneq ($(shell which cmake3),)
+ifneq ($(shell which cmake3 2>/dev/null),)
CMAKE?=cmake3
else
CMAKE?=cmake
$(shell rm -rf $(L) && mkdir -p $(L))
endif
-ifneq ($(shell which cmake3),)
+ifneq ($(shell which cmake3 2>/dev/null),)
CMAKE?=cmake3
else
CMAKE?=cmake
vom_source = extras
vom_configure_subdir = vom
-ifneq ($(shell which cmake3),)
+ifneq ($(shell which cmake3 2>/dev/null),)
CMAKE?=cmake3
else
CMAKE?=cmake