]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: add a qinfo macro to pass info in quiet mode
authorWilly Tarreau <w@1wt.eu>
Wed, 8 Jan 2025 09:29:39 +0000 (10:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Jan 2025 10:26:05 +0000 (11:26 +0100)
commitbd06502b22cd12d8101b21f01d9f0320717b3501
tree000d88911250c9ef1a7896ab358f8e7c90feeab6
parentc87619fa25d9b1cde514089e44fbc6f235026e86
BUILD: makefile: add a qinfo macro to pass info in quiet mode

Some commands such as $(cmd_CC) etc already handle the quiet vs verbose
mode in the makefile, but sometimes we may want to pass other info. The
new "qinfo" macro can be called with a 9-char string argument (spaces
included) as a prefix for some commands, to emit that string when in
quiet mode. The caller must fill the spaces needed for alignment. E.g:

  $(call quinfo,  CC     )$(CC) ...
include/make/verbose.mk