Thanks, applied as d59bebc85e324c5de3c2b63423415de0938869d8.

Michael

[sent from post-receive hook]

On Fri, 01 Jul 2022 07:10:35 +0200, Ahmad Fatoum <[email protected]> 
wrote:
> FIP is becoming the standard for firmware booted by ARM Trusted
> Firmware. While TF-A provides a fip target to assemble such images,
> building them outside the TF-A build by means of fiptool (e.g. via
> genimage[0]) can provide more flexibility.
> Add a host-tf-a rule to facilitate this.
> 
> [0]: https://github.com/pengutronix/genimage/pull/190
> 
> Signed-off-by: Ahmad Fatoum <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/platforms/host-tf-a.in b/platforms/host-tf-a.in
> new file mode 100644
> index 000000000000..1a299f042724
> --- /dev/null
> +++ b/platforms/host-tf-a.in
> @@ -0,0 +1,7 @@
> +## SECTION=hosttools_platform
> +
> +config HOST_TF_A
> +     tristate
> +     default y if ALLYES && TF_A
> +     help
> +       This provides fiptool
> diff --git a/rules/host-tf-a.make b/rules/host-tf-a.make
> new file mode 100644
> index 000000000000..9b4a94f7ab93
> --- /dev/null
> +++ b/rules/host-tf-a.make
> @@ -0,0 +1,20 @@
> +# -*-makefile-*-
> +# Copyright (C) 2021 by Uwe Kleine-König <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_TF_A) += host-tf-a
> +
> +HOST_TF_A_MAKE_OPT = fiptool
> +
> +$(STATEDIR)/host-tf-a.install:
> +     @$(call targetinfo)
> +     install -vD -m755 $(HOST_TF_A_DIR)/tools/fiptool/fiptool 
> $(HOST_TF_A_PKGDIR)/bin/fiptool
> +     @$(call touch)
> +
> +# vim: syntax=make

Reply via email to