[Buildroot] [PATCH 2/2] package/perf: if zstd is enabled, depend on it
Jan Kundrát
jan.kundrat at cesnet.cz
Thu Nov 12 19:04:55 UTC 2020
On středa 11. listopadu 2020 17:00:08 CET, Václav Kubernát wrote:
> Enables the "-z" flag.
>
> Signed-off-by: Václav Kubernát <sir.venceslas at gmail.com>
This makes sense when you have limited space in your tmpfs which happens to
be the only writable space.
Reviewed-by: Jan Kundrát <jan.kundrat at cesnet.cz>
(disclaimer: I'm Vaclav's co-worker)
> ---
> package/linux-tools/linux-tool-perf.mk.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/linux-tools/linux-tool-perf.mk.in
> b/package/linux-tools/linux-tool-perf.mk.in
> index e54f019888..efa747cf8d 100644
> --- a/package/linux-tools/linux-tool-perf.mk.in
> +++ b/package/linux-tools/linux-tool-perf.mk.in
> @@ -69,6 +69,10 @@ else
> PERF_MAKE_FLAGS += NO_LIBAUDIT=1
> endif
>
> +ifeq ($(BR2_PACKAGE_ZSTD),y)
> +PERF_DEPENDENCIES += zstd
> +endif
> +
> ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
> PERF_DEPENDENCIES += libunwind
> else
More information about the buildroot
mailing list