Skip to contentSkip to conversation

trace-cmd: Add build message if the best compression algorithm is not avaiable

PATCH New Steven Rostedt 1 participant 1 message Feb 24, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: Add build message if the best compression algorithm is not avaiable

From: "Steven Rostedt (Google)" <[email protected]>

If the best compression package is not available at build time, give a message stating so. This can help users know that hey should install the compression developer package.

---
Depends on: https://lore.kernel.org/all/[email protected]/

 Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Makefile +4 -0
index b4b08b8858aa..3009c2d74592 100644
@@ -315,6 +315,10 @@ LIBZSTD_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs libzstd")
 CFLAGS += -DHAVE_ZSTD
 ZSTD_INSTALLED=1
 $(info    Have ZSTD compression support)
+else
+$(info	  *************************************************************)
+$(info	  ZSTD package not found, best compression algorithm not in use)
+$(info	  *************************************************************)
 endif
 
 export LIBZSTD_CFLAGS LIBZSTD_LDLAGS ZSTD_INSTALLED
Signature · 1 line
2.34.1