arm-trusted-firmware/plat/socionext/uniphier
Chris Kay 7c4e1eea61 build: unify verbosity handling
This change introduces a few helper variables for dealing with verbose
and silent build modes: `silent`, `verbose`, `q` and `s`.

The `silent` and `verbose` variables are boolean values determining
whether the build system has been configured to run silently or
verbosely respectively (i.e. with `--silent` or `V=1`).

These two modes cannot be used together - if `silent` is truthy then
`verbose` is always falsy. As such:

    make --silent V=1

... results in a silent build.

In addition to these boolean variables, we also introduce two new
variables - `s` and `q` - for use in rule recipes to conditionally
suppress the output of commands.

When building silently, `s` expands to a value which disables the
command that follows, and `q` expands to a value which supppresses
echoing of the command:

    $(s)echo 'This command is neither echoed nor executed'
    $(q)echo 'This command is executed but not echoed'

When building verbosely, `s` expands to a value which disables the
command that follows, and `q` expands to nothing:

    $(s)echo 'This command is neither echoed nor executed'
    $(q)echo 'This command is executed and echoed'

In all other cases, both `s` and `q` expand to a value which suppresses
echoing of the command that follows:

    $(s)echo 'This command is executed but not echoed'
    $(q)echo 'This command is executed but not echoed'

The `s` variable is predominantly useful for `echo` commands, where you
always want to suppress echoing of the command itself, whilst `q` is
more useful for all other commands.

Change-Id: I8d8ff6ed714d3cb401946c52955887ed7dca602b
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-06-14 15:54:48 +00:00
..
include uniphier: define PLAT_XLAT_TABLES_DYNAMIC only for BL2 2020-04-02 15:16:31 +09:00
tsp uniphier: use enable_mmu() in common function 2020-04-01 16:40:16 +02:00
platform.mk build: unify verbosity handling 2024-06-14 15:54:48 +00:00
uniphier.h uniphier: make I/O register region configurable 2020-02-12 13:36:58 +09:00
uniphier_bl2_setup.c uniphier: increase BL33 max size and GZIP temporary buffer size 2020-06-29 16:57:11 +09:00
uniphier_bl31_setup.c uniphier: use enable_mmu() in common function 2020-04-01 16:40:16 +02:00
uniphier_boot_device.c uniphier: make pinmon base address configurable 2020-02-12 13:36:58 +09:00
uniphier_cci.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_console.h uniphier: support console based on multi-console 2019-07-05 18:43:16 +09:00
uniphier_console.S Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
uniphier_console_setup.c refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
uniphier_emmc.c uniphier: make eMMC controller base address configurable 2020-02-12 13:36:58 +09:00
uniphier_gicv3.c uniphier: fix typo and coding style 2019-07-31 16:35:29 +09:00
uniphier_helpers.S uniphier: support Socionext UniPhier platform 2017-06-13 00:32:57 +09:00
uniphier_image_desc.c uniphier: increase BL33 max size and GZIP temporary buffer size 2020-06-29 16:57:11 +09:00
uniphier_io_storage.c uniphier: increase BL33 max size and GZIP temporary buffer size 2020-06-29 16:57:11 +09:00
uniphier_nand.c uniphier: make NAND controller base address configurable 2020-02-12 13:36:58 +09:00
uniphier_psci.c uniphier: make PSCI related base address configurable 2020-02-12 13:36:58 +09:00
uniphier_rotpk.S uniphier: move ROTPK hash to .rodata section 2017-10-18 21:57:34 +09:00
uniphier_scp.c uniphier: pass SCP base address as a function parameter 2020-01-24 22:34:50 +09:00
uniphier_smp.S uniphier: support Socionext UniPhier platform 2017-06-13 00:32:57 +09:00
uniphier_soc_info.c uniphier: prepare uniphier_soc_info() for next SoC 2020-02-26 17:55:11 +09:00
uniphier_syscnt.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_tbbr.c Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
uniphier_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
uniphier_usb.c uniphier: set buffer offset and length for io_block dynamically 2020-01-24 22:34:50 +09:00
uniphier_xlat_setup.c uniphier: support read-only xlat tables 2020-04-01 16:40:16 +02:00