From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: "Clément Léger" <clement.leger@bootlin.com>
Cc: Etienne Carriere <etienne.carriere@linaro.org>,
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 22:01:32 +0100 [thread overview]
Message-ID: <20220314210132.GX283544@scaer> (raw)
In-Reply-To: <20220314153111.1390512-2-clement.leger@bootlin.com>
Clément, All,
On 2022-03-14 16:31 +0100, Clément Léger via buildroot spake thusly:
> 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.
The following option, BR2_TARGET_OPTEE_OS_VERSION, is related to the
version selection, above, so adding this new option right in the middle
is not very great. I've moved that new option below.
Applied to master, thanks.
Regards,
Yann E. MORIN.
> 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
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-03-14 21:01 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
2022-03-14 21:01 ` Yann E. MORIN [this message]
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=20220314210132.GX283544@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=clement.leger@bootlin.com \
--cc=etienne.carriere@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox