From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49DB9C433EF for ; Tue, 7 Jun 2022 19:23:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 16738408A5; Tue, 7 Jun 2022 19:23:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kwh1gq5MVc-T; Tue, 7 Jun 2022 19:23:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 2CCE6404C2; Tue, 7 Jun 2022 19:23:45 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 06D761BF475 for ; Tue, 7 Jun 2022 19:16:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2C51A60F6F for ; Tue, 7 Jun 2022 19:16:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Cs0PjGLaOCq for ; Tue, 7 Jun 2022 19:16:51 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp3.osuosl.org (Postfix) with ESMTP id 4329B60ED4 for ; Tue, 7 Jun 2022 19:16:51 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id 4566286E23; Tue, 7 Jun 2022 19:04:59 +0000 (UTC) To: buildroot@buildroot.org Date: Sun, 5 Jun 2022 22:49:00 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: d8c5d9b53437741c79cd3d759de1fe81af9055fd X-Git-Newrev: edfa431c9b7b53dbbb3063bd5efd88aac84b1c6e X-Patchwork-Hint: ignore Message-Id: <20220607190459.4566286E23@busybox.osuosl.org> Subject: [Buildroot] [git commit] boot/optee-os: add support to build with python-pillow X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Petazzoni via buildroot Reply-To: Thomas Petazzoni MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=edfa431c9b7b53dbbb3063bd5efd88aac84b1c6e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Some specific versions of OP-TEE need the python-pillow module on the host to build support for the TUI (Trusted User Interface) feature. To allow building such OP-TEE versions, this commit adds the option BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_PILLOW which when enabled ensures that host-python-pillow is built before OP-TEE. Signed-off-by: Kory Maincent Signed-off-by: Thomas Petazzoni --- 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..0be6e68b0c 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 + 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 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 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot