Skip to contentSkip to conversation

boot/optee-os: remove host-python-pillow build dependency

PATCH Applied Köry Maincent via buildroot 2 participants 4 messages Sep 6, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 boot/optee-os: remove host-python-pillow build dependency

From: Kory Maincent <[email protected]>

host-python-pillow dependency was needed to build the STMicroelecronics version during its rc versions but is is not needed anymore in the release. It is then useless to keep this dependency.

---
 boot/optee-os/Config.in   | 7 -------
 boot/optee-os/optee-os.mk | 4 ----
 2 files changed, 11 deletions(-)
boot/optee-os/Config.in +0 -7
index db7a93c10c..5244700bc2 100644
@@ -91,13 +91,6 @@ 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
-	  Some specific OP-TEE OS versions 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
boot/optee-os/optee-os.mk +0 -4
index 136c4b2401..38b0d367ef 100644
@@ -36,10 +36,6 @@ 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
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/2 package/python-pillow: remove host-python-pillow support

From: Kory Maincent <[email protected]>

host-python-pillow was needed to build optee-os from STMicroelecronics during its rc versions but is is not needed anymore in the release. It is then useless to keep this support.

---
 package/python-pillow/python-pillow.mk | 14 --------------
 1 file changed, 14 deletions(-)
package/python-pillow/python-pillow.mk +0 -14
index 7cff54e9ea..31725a3e46 100644
@@ -71,18 +71,4 @@ else
 PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux
 endif
 
-HOST_PYTHON_PILLOW_DEPENDENCIES = host-pkgconf
-HOST_PYTHON_PILLOW_BUILD_OPTS = \
-	build_ext \
-	--disable-freetype \
-	--disable-jpeg \
-	--disable-lcms \
-	--disable-xcb \
-	--disable-jpeg2000 \
-	--disable-tiff \
-	--disable-webp \
-	--disable-webpmux
-HOST_PYTHON_PILLOW_INSTALL_OPTS = $(HOST_PYTHON_PILLOW_BUILD_OPTS)
-
 $(eval $(python-package))
-$(eval $(host-python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v2 2/2] package/python-pillow: remove host-python-pillow support

Köry, All,

On 2022-09-06 12:23 +0200, Köry Maincent via buildroot spake thusly:

Quoted 7 lines

From: Kory Maincent <[email protected]>

host-python-pillow was needed to build optee-os from STMicroelecronics during its rc versions but is is not needed anymore in the release. It is then useless to keep this support.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 34 lines
---
 package/python-pillow/python-pillow.mk | 14 --------------
 1 file changed, 14 deletions(-)
package/python-pillow/python-pillow.mk +0 -14
index 7cff54e9ea..31725a3e46 100644
@@ -71,18 +71,4 @@ else
 PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux
 endif
 
-HOST_PYTHON_PILLOW_DEPENDENCIES = host-pkgconf
-HOST_PYTHON_PILLOW_BUILD_OPTS = \
-	build_ext \
-	--disable-freetype \
-	--disable-jpeg \
-	--disable-lcms \
-	--disable-xcb \
-	--disable-jpeg2000 \
-	--disable-tiff \
-	--disable-webp \
-	--disable-webpmux
-HOST_PYTHON_PILLOW_INSTALL_OPTS = $(HOST_PYTHON_PILLOW_BUILD_OPTS)
-
 $(eval $(python-package))
-$(eval $(host-python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Köry Maincent via buildroot

Köry, All,

On 2022-09-06 12:23 +0200, Köry Maincent via buildroot spake thusly:

Quoted 7 lines

From: Kory Maincent <[email protected]>

host-python-pillow dependency was needed to build the STMicroelecronics version during its rc versions but is is not needed anymore in the release. It is then useless to keep this dependency.

You forgot to add an entry in Config.in.legacy. But since that option was never part of a release, we indeed do not want to add a legacy entry.

Applied to master (yes, master on purpose), thanks.

Regards,
Yann E. MORIN.

Quoted 45 lines
---
 boot/optee-os/Config.in   | 7 -------
 boot/optee-os/optee-os.mk | 4 ----
 2 files changed, 11 deletions(-)
boot/optee-os/Config.in +0 -7
index db7a93c10c..5244700bc2 100644
@@ -91,13 +91,6 @@ 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
-	  Some specific OP-TEE OS versions 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
boot/optee-os/optee-os.mk +0 -4
index 136c4b2401..38b0d367ef 100644
@@ -36,10 +36,6 @@ 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
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot