All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-pillow: enable host package
@ 2022-06-02  9:00 Kory Maincent via buildroot
  2022-06-02  9:00 ` [Buildroot] [PATCH 2/2] boot/optee-os: add support to build with python-pillow Kory Maincent via buildroot
  2022-06-05 20:55 ` [Buildroot] [PATCH 1/2] package/python-pillow: enable host package Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Kory Maincent via buildroot @ 2022-06-02  9:00 UTC (permalink / raw)
  To: buildroot; +Cc: Kory Maincent, etienne.carriere, thomas.petazzoni

From: Kory Maincent <kory.maincent@bootlin.com>

Enable host package, needed for the build of specific optee-os package
version.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
 package/python-pillow/python-pillow.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk
index 1105326799..2abe5e04ef 100644
--- a/package/python-pillow/python-pillow.mk
+++ b/package/python-pillow/python-pillow.mk
@@ -72,3 +72,4 @@ PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux
 endif
 
 $(eval $(python-package))
+$(eval $(host-python-package))
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] boot/optee-os: add support to build with python-pillow
  2022-06-02  9:00 [Buildroot] [PATCH 1/2] package/python-pillow: enable host package Kory Maincent via buildroot
@ 2022-06-02  9:00 ` Kory Maincent via buildroot
  2022-06-03  8:00   ` Etienne Carriere
  2022-06-05 20:55 ` [Buildroot] [PATCH 1/2] package/python-pillow: enable host package Thomas Petazzoni via buildroot
  1 sibling, 1 reply; 4+ messages in thread
From: Kory Maincent via buildroot @ 2022-06-02  9:00 UTC (permalink / raw)
  To: buildroot; +Cc: Kory Maincent, etienne.carriere, thomas.petazzoni

From: Kory Maincent <kory.maincent@bootlin.com>

SOC constructor version of optee-os may uses python-pillow to build the
Trusted User Interface feature.
Add support to build these specific versions by adding a new
BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_PILLOW option which will
select host-python-pillow dependency.

Signed-off-by: Kory Maincent <kory.maincent@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 fb8a189a75..b459393191 100644
--- a/boot/optee-os/Config.in
+++ b/boot/optee-os/Config.in
@@ -72,6 +72,13 @@ config BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY
 	  python-cryptography. Select this option if optee-os needs
 	  python-cryptography to be built.
 
+config BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_PILLOW
+	bool "OP-TEE OS needs host-python-pillow"
+	help
+	  OP-TEE OS version from SOC manufacturer may use python-pillow
+	  to build the Trusted User Interface feature.
+	  Select this option if optee-os need python-pillow to be built.
+
 config BR2_TARGET_OPTEE_OS_CORE
 	bool "Build core"
 	default y
diff --git a/boot/optee-os/optee-os.mk b/boot/optee-os/optee-os.mk
index 5313a1badc..88f14b48e4 100644
--- a/boot/optee-os/optee-os.mk
+++ b/boot/optee-os/optee-os.mk
@@ -29,6 +29,10 @@ else
 OPTEE_OS_DEPENDENCIES += host-python-pycryptodomex
 endif
 
+ifeq ($(BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_PILLOW),y)
+OPTEE_OS_DEPENDENCIES += host-python-pillow
+endif
+
 ifeq ($(BR2_TARGET_OPTEE_OS_NEEDS_DTC),y)
 OPTEE_OS_DEPENDENCIES += host-dtc
 endif
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 2/2] boot/optee-os: add support to build with python-pillow
  2022-06-02  9:00 ` [Buildroot] [PATCH 2/2] boot/optee-os: add support to build with python-pillow Kory Maincent via buildroot
@ 2022-06-03  8:00   ` Etienne Carriere
  0 siblings, 0 replies; 4+ messages in thread
From: Etienne Carriere @ 2022-06-03  8:00 UTC (permalink / raw)
  To: kory.maincent; +Cc: thomas.petazzoni, buildroot

Hello Kory,

On Thu, 2 Jun 2022 at 11:00, <kory.maincent@bootlin.com> wrote:
>
> From: Kory Maincent <kory.maincent@bootlin.com>
>
> SOC constructor version of optee-os may uses python-pillow to build the

s/uses/use/

> Trusted User Interface feature.
> Add support to build these specific versions by adding a new
> BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_PILLOW option which will
> select host-python-pillow dependency.
>
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
> ---

LGTM (Acked-by: Etienne Carriere <etienne.carriere@linaro.org>) with 2
minor spelling issues.



>  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 fb8a189a75..b459393191 100644
> --- a/boot/optee-os/Config.in
> +++ b/boot/optee-os/Config.in
> @@ -72,6 +72,13 @@ config BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY
>           python-cryptography. Select this option if optee-os needs
>           python-cryptography to be built.
>
> +config BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_PILLOW
> +       bool "OP-TEE OS needs host-python-pillow"
> +       help
> +         OP-TEE OS version from SOC manufacturer may use python-pillow
> +         to build the Trusted User Interface feature.
> +         Select this option if optee-os need python-pillow to be built.

s/need/needs/

> +
>  config BR2_TARGET_OPTEE_OS_CORE
>         bool "Build core"
>         default y
> diff --git a/boot/optee-os/optee-os.mk b/boot/optee-os/optee-os.mk
> index 5313a1badc..88f14b48e4 100644
> --- a/boot/optee-os/optee-os.mk
> +++ b/boot/optee-os/optee-os.mk
> @@ -29,6 +29,10 @@ else
>  OPTEE_OS_DEPENDENCIES += host-python-pycryptodomex
>  endif
>
> +ifeq ($(BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_PILLOW),y)
> +OPTEE_OS_DEPENDENCIES += host-python-pillow
> +endif
> +
>  ifeq ($(BR2_TARGET_OPTEE_OS_NEEDS_DTC),y)
>  OPTEE_OS_DEPENDENCIES += host-dtc
>  endif
> --
> 2.25.1
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/python-pillow: enable host package
  2022-06-02  9:00 [Buildroot] [PATCH 1/2] package/python-pillow: enable host package Kory Maincent via buildroot
  2022-06-02  9:00 ` [Buildroot] [PATCH 2/2] boot/optee-os: add support to build with python-pillow Kory Maincent via buildroot
@ 2022-06-05 20:55 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-06-05 20:55 UTC (permalink / raw)
  To: Kory Maincent via buildroot; +Cc: kory.maincent, etienne.carriere

On Thu,  2 Jun 2022 11:00:11 +0200
Kory Maincent via buildroot <buildroot@buildroot.org> wrote:

> From: Kory Maincent <kory.maincent@bootlin.com>
> 
> Enable host package, needed for the build of specific optee-os package
> version.
> 
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
> ---
>  package/python-pillow/python-pillow.mk | 1 +
>  1 file changed, 1 insertion(+)

Both applied to master, with improved commit logs, and an improved
Config.in help text on PATCH 2/2.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-05 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-02  9:00 [Buildroot] [PATCH 1/2] package/python-pillow: enable host package Kory Maincent via buildroot
2022-06-02  9:00 ` [Buildroot] [PATCH 2/2] boot/optee-os: add support to build with python-pillow Kory Maincent via buildroot
2022-06-03  8:00   ` Etienne Carriere
2022-06-05 20:55 ` [Buildroot] [PATCH 1/2] package/python-pillow: enable host package Thomas Petazzoni via buildroot

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.