diff mbox series

[v5,14/15] tools build: Add test echo-cmd

Message ID 20230126233645.200509-15-irogers@google.com (mailing list archive)
State Handled Elsewhere
Headers show
Series jevents/pmu-events improvements | expand

Commit Message

Ian Rogers Jan. 26, 2023, 11:36 p.m. UTC
Add quiet_cmd_test so that:
$(Q)$(call echo-cmd,test)

will print:
TEST   <path>

This is useful for executing compile-time tests similar to what
happens for fortify tests in the kernel's lib directory.
---
 tools/build/Makefile.build | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build
index 715092fc6a23..89430338a3d9 100644
--- a/tools/build/Makefile.build
+++ b/tools/build/Makefile.build
@@ -53,6 +53,7 @@  build-file := $(dir)/Build
 
 quiet_cmd_flex  = FLEX    $@
 quiet_cmd_bison = BISON   $@
+quiet_cmd_test  = TEST    $@
 
 # Create directory unless it exists
 quiet_cmd_mkdir = MKDIR   $(dir $@)