[Buildroot] [PATCH 07/10] infra/pkg-generic: introduce foo-show-recursive-info

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Apr 10 09:20:10 UTC 2019


El dom., 7 abr. 2019 a las 13:51, Yann E. MORIN
(<yann.morin.1998 at free.fr>) escribió:
>
> Recusrively display the information for a package and its complete

Recursively

> dependency tree.
>
> Note that this does not generate a valid JSON blurb, as records are not
> comma-separated. It is not trivial to do, so we leave this for later (or
> as an exrecise to the user).

exercise

>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Thomas De Schampheleire <patrickdepinguin at gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Arnout Vandecappelle <arnout at mind.be>
> ---
>  package/pkg-generic.mk | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
> index 72b1a87f5f..f230292603 100644
> --- a/package/pkg-generic.mk
> +++ b/package/pkg-generic.mk
> @@ -882,6 +882,8 @@ define $(2)_SHOW_INFO
>         ]
>  endef
>
> +$(1)-show-recursive-info: $(1)-show-info
> +$(1)-show-recursive-info: $$(patsubst %,%-show-recursive-info,$$($(2)_FINAL_ALL_DEPENDENCIES))
>  $(1)-show-info:
>         @:
>         $$(info { $$(strip $$($(2)_SHOW_INFO)) })
> @@ -1143,6 +1145,7 @@ DL_TOOLS_DEPENDENCIES += $$(call extractor-dependency,$$($(2)_SOURCE))
>         $(1)-show-dependency-tree \
>         $(1)-show-depends \
>         $(1)-show-info \
> +       $(1)-show-recursive-info \
>         $(1)-show-version \
>         $(1)-source
>
> --
> 2.14.1
>



More information about the buildroot mailing list