From patchwork Thu Jun 2 09:00:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 1638251 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=mmO2N4P5; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LDKjT48qqz9s0w for ; Thu, 2 Jun 2022 19:00:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id CB1D04160A; Thu, 2 Jun 2022 09:00:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UbJ_CYm_fPrL; Thu, 2 Jun 2022 09:00:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id B4982410BD; Thu, 2 Jun 2022 09:00:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 247371BF3AD for ; Thu, 2 Jun 2022 09:00:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 20D6460E92 for ; Thu, 2 Jun 2022 09:00:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=bootlin.com 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 tiqlRjnGiZwQ for ; Thu, 2 Jun 2022 09:00:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2A4BD60AA5 for ; Thu, 2 Jun 2022 09:00:17 +0000 (UTC) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 54A4F4000E; Thu, 2 Jun 2022 09:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1654160415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mZ1yzHJIOayGhseiL+jCN67u9GOwz5HBXy3WFz8IqL4=; b=mmO2N4P5VFQBbW/wbNGFdfbyrDVRBI59HZsbR4ZeDgLBwXzVazxarNN0ziA14yA1+4fuuA PJlCSUdn4PQNZqYLss6nSFD65EQpKOYBftJtPrOw13AwhHzLHpii5l7s+PrniYTX557vDC insB3UFohRc1CSaWFWwfMhk34EgH58BIbVSu1vMHHfeLR/VgeDUA4OyhKmgn+7HGpUQkIg 5K9/+SK8vgSO7Sl5HIBCFf7XDWjcldDoHQvgMuhxyo1mw6hyAhis5TJZpVaQI3r3HrTQey 0pMQ4V/1q7GgvNoIhedHYbXIpQfA3lOrIzm/ZN9BOJK81FTbqN1QtcN1E486ow== To: buildroot@buildroot.org Date: Thu, 2 Jun 2022 11:00:11 +0200 Message-Id: <20220602090012.2008381-1-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/python-pillow: enable host package 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: , X-Patchwork-Original-From: Kory Maincent via buildroot From: =?utf-8?q?K=C3=B6ry_Maincent?= Reply-To: kory.maincent@bootlin.com Cc: Kory Maincent , etienne.carriere@linaro.org, thomas.petazzoni@bootlin.com Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Kory Maincent Enable host package, needed for the build of specific optee-os package version. Signed-off-by: Kory Maincent --- 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)) From patchwork Thu Jun 2 09:00:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 1638252 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=nfM4oYZy; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LDKjd3t3Qz9s0w for ; Thu, 2 Jun 2022 19:00:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B629A40A06; Thu, 2 Jun 2022 09:00:34 +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 3Lg9VjG9LF61; Thu, 2 Jun 2022 09:00:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id D93C8405BA; Thu, 2 Jun 2022 09:00:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 493A51BF9D1 for ; Thu, 2 Jun 2022 09:00:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3579C40A06 for ; Thu, 2 Jun 2022 09:00:19 +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 lxwgwJLLTAwE for ; Thu, 2 Jun 2022 09:00:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by smtp2.osuosl.org (Postfix) with ESMTPS id 5FF754026F for ; Thu, 2 Jun 2022 09:00:18 +0000 (UTC) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 86E8440018; Thu, 2 Jun 2022 09:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1654160416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RSFqox69im0mqNySx3US/nVV71Cafc+jKekyI8g1PI4=; b=nfM4oYZyGINqm8jW/VQ3pzTxa1CKaMwHLqSyNQiOpC+VKZy6vanwVMufRgoTZ+W1/aA3jv VQyc6VLWMytXqkhDYL1gR6YRQzO33rgLvHHnemhyxO1ZwihIpoGbNpVl9DkpiHMcTv5bfL SLF1ICPVIKdENNGvj1fR4gVhTmEY97psKLPBrP1c/1hz+gJOp9A0NU6y9/jErJb0xzQBLc FNJpLA9Ej35cvas7j6nufSd0WYUICJGoAaY16NhncKIaiAH+vQlmmFitdO1ptXK8kiHXHo fYMnbYryTRcJcuFxe13906UBcpzPfhi2ssNVvcxwFv9JCXwnWnv911rpzeWg3g== To: buildroot@buildroot.org Date: Thu, 2 Jun 2022 11:00:12 +0200 Message-Id: <20220602090012.2008381-2-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220602090012.2008381-1-kory.maincent@bootlin.com> References: <20220602090012.2008381-1-kory.maincent@bootlin.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] 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: , X-Patchwork-Original-From: Kory Maincent via buildroot From: =?utf-8?q?K=C3=B6ry_Maincent?= Reply-To: kory.maincent@bootlin.com Cc: Kory Maincent , etienne.carriere@linaro.org, thomas.petazzoni@bootlin.com Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Kory Maincent 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 --- 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