All of lore.kernel.org
 help / color / mirror / Atom feed
From: Etienne Carriere <etienne.carriere@linaro.org>
To: "Clément Léger" <clement.leger@bootlin.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v4 1/8] boot/optee-os: add option to select DTC dependency
Date: Mon, 14 Mar 2022 18:23:39 +0100	[thread overview]
Message-ID: <CAN5uoS8Z6e24-HbrN6V0ryNK=oL=-_ktjd8vDJrrpgXQjDHTKg@mail.gmail.com> (raw)
In-Reply-To: <20220314153111.1390512-2-clement.leger@bootlin.com>

Hello Clément,

On Mon, 14 Mar 2022 at 16:32, Clément Léger <clement.leger@bootlin.com> wrote:
>
> Some platforms (stm32, sam) needs DTC to build the platform
> device-trees. Add BR2_TARGET_OPTEE_OS_NEEDS_DTC configuration
> option to select host-dtc package when building.
>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
> ---
>  boot/optee-os/Config.in   | 7 +++++++
>  boot/optee-os/optee-os.mk | 4 ++++
>  2 files changed, 11 insertions(+)
>
> diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in
> index 0974578484..2f6143f1f4 100644
> --- a/boot/optee-os/Config.in
> +++ b/boot/optee-os/Config.in
> @@ -48,6 +48,13 @@ config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION
>
>  endif
>
> +config BR2_TARGET_OPTEE_OS_NEEDS_DTC
> +       bool "OP-TEE OS needs dtc"
> +       select BR2_PACKAGE_HOST_DTC
> +       help
> +         Select this option if your OP-TEE OS platform configuration
> +         requires the Device Tree compiler to be available.
> +
>  config BR2_TARGET_OPTEE_OS_VERSION
>         string
>         default "3.15.0"        if BR2_TARGET_OPTEE_OS_LATEST
> diff --git a/boot/optee-os/optee-os.mk b/boot/optee-os/optee-os.mk
> index 166b5e693c..9f76d8450e 100644
> --- a/boot/optee-os/optee-os.mk
> +++ b/boot/optee-os/optee-os.mk
> @@ -23,6 +23,10 @@ endif
>
>  OPTEE_OS_DEPENDENCIES = host-openssl host-python3 host-python-pycryptodomex host-python-pyelftools
>
> +ifeq ($(BR2_TARGET_OPTEE_OS_NEEDS_DTC),y)
> +OPTEE_OS_DEPENDENCIES += host-dtc
> +endif
> +
>  # On 64bit targets, OP-TEE OS can be built in 32bit mode, or
>  # can be built in 64bit mode and support 32bit and 64bit
>  # trusted applications. Since buildroot currently references
> --
> 2.34.1
>

Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-03-14 17:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14 15:31 [Buildroot] [PATCH v4 0/8] boot/optee-os: support new optee-os 3.16.0 build dependencies Clément Léger via buildroot
2022-03-14 15:31 ` [Buildroot] [PATCH v4 1/8] boot/optee-os: add option to select DTC dependency Clément Léger via buildroot
2022-03-14 17:23   ` Etienne Carriere [this message]
2022-03-14 21:01   ` Yann E. MORIN
2022-03-20 18:24   ` Peter Korsgaard
2022-03-14 15:31 ` [Buildroot] [PATCH v4 2/8] package/python-cryptography: enable host package Clément Léger via buildroot
2022-03-14 20:31   ` Yann E. MORIN
2022-03-15  8:10     ` Thomas Petazzoni via buildroot
2022-03-16 18:17       ` Yann E. MORIN
2022-03-14 15:31 ` [Buildroot] [PATCH v4 3/8] boot/optee-os: add support to build with python-cryptography Clément Léger via buildroot
2022-03-14 17:20   ` Etienne Carriere
2022-03-14 20:23     ` Thomas Petazzoni via buildroot
2022-03-14 15:31 ` [Buildroot] [PATCH v4 4/8] boot/optee-os: bump to version 3.16.0 Clément Léger via buildroot
2022-03-14 15:31 ` [Buildroot] [PATCH v4 5/8] package/optee-test: " Clément Léger via buildroot
2022-03-14 15:31 ` [Buildroot] [PATCH v4 6/8] package/optee-examples: " Clément Léger via buildroot
2022-03-14 15:31 ` [Buildroot] [PATCH v4 7/8] package/optee-client: " Clément Léger via buildroot
2022-03-14 15:31 ` [Buildroot] [PATCH v4 8/8] package/optee-benchmark: " Clément Léger via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN5uoS8Z6e24-HbrN6V0ryNK=oL=-_ktjd8vDJrrpgXQjDHTKg@mail.gmail.com' \
    --to=etienne.carriere@linaro.org \
    --cc=buildroot@buildroot.org \
    --cc=clement.leger@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.