From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7030828924489695232 X-Received: by 2002:a2e:5d7:: with SMTP id 206mr39961407ljf.133.1636992434592; Mon, 15 Nov 2021 08:07:14 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1251:: with SMTP id h17ls2307209ljh.6.gmail; Mon, 15 Nov 2021 08:07:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVo1jT8M76Ny5n+m39BWSpKQVbiHElcLwYRE+TW2YAIzuZ9pzj9sx0t5njnOyInyNwEtEb X-Received: by 2002:a2e:bf26:: with SMTP id c38mr39287612ljr.523.1636992433387; Mon, 15 Nov 2021 08:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636992433; cv=none; d=google.com; s=arc-20160816; b=DSMWqElLc3PYmR6FejeSM04cI8BwlByHek/0vpbUFfd0rbQ7HiOg4cOtORH7YvV8UA 7/GLuwncTJUKIvjhWQpQKr5yQgWmiNf3qMkZVJMoyGpTfsPMjIp5mBdmlY9R1ASesVY2 pbgwjFoj+mFX1O9HzHR2kxX9z8D2GPGQIsbtx5kZCY46vjc/YinlyyaQGP6q96aWdvhU 1X4vCyejzEzFJ0+UnBLkJ9cFb/uFSw49lWNoskAn/tb4kjMh0UEYzOFao6i0QSKCPR1X ziywG5/R9J4oEkR0OIYZ5IlIhQMDlvbS6ZjDtEz252iJmWPU1on+8sekxdgK7xFFOr42 Tclg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=p36YKNXWxhWLT9IftpLZxPKrdgQY7Ofd/9pl8y1RveA=; b=T1iXwXnv45bvUN9plDtWTILWfaEONn/QOuiCdWlhK6Le/Gmi/QcFFaoT/dg0qtiKP3 j8+QiIl9IVdZw418KxGQLSSkVr0avtay5S4cuBAmw/YJp1ITliIsLDS6sKCX0Ck1Jc+o 9/WNO3qNPgc7qrhuha6/CL7w5CxCrF/s/TARkSg8i7FqWuRsmgSWNAXswlfUr0f4jbBy 3RqYi2h2y9ddE0z4STvrd2r+PoJLeYUX3Wnjb5TvTAEcxTbkEUB/WO6ed37llVIsP2Qv yEYZ1nuOu3IdD6SWF7Y9p1cfwtqDPrGEbvt1f/Pz9qpeuqgHjvxQJQqAHhuaM9R/dKUI j6dg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com. [68.232.137.180]) by gmr-mx.google.com with ESMTPS id b11si729238lfv.12.2021.11.15.08.07.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Nov 2021 08:07:13 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) client-ip=68.232.137.180; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com IronPort-SDR: 6ucYWOki2AMiTpuW5gzDF0FLw5NYO/IMlwQ5sL3XxgpwBiy/nhBLcLH/uFPe9bcJVDI5Yu7NfW 65ld5wXcTFxyGKXJYSPJM0GmtQorWh0f1Jvyrc63oLCzYcgU7gOHzUn7d8unZeBA6mDjsRE7WO KhBW5IrCURo+odQlG1lxiu26KLBwVygCXJOk/4UjyQ2Br2U1Sp8pDYePwCnFGA2nuRZwl5Ahgg c1BMao1rrQ7So6bsuM/ceQwhU/2+/naYVcNjd0rXkS88ygyBrCVWmMSGnRRNtJL3T2vMlv6Jx7 zoXiSnqk9pJdw6lBDcHnDq/0 X-IronPort-AV: E=Sophos;i="5.87,236,1631606400"; d="scan'208";a="68347035" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 15 Nov 2021 08:07:13 -0800 IronPort-SDR: +kOeiw3wh80pyWoD8X/CtpPIGwU3BzjgY5A7TOvMwuZKWGtEZAuzgI/1jjky4tv5gbBZ6ewHXy I7uwPeXbptHJTBjZfLBHA/1scLbSasFckHGep1YCW6NW3LOha5wHwcgV40+xJpTY6Rh24nLA/3 NaeQ14n4PgqgqvaUlwM31M0RmjXc7cfMr2BWIx2gzm8qrjoUdbOUEo+eSoQkhqpB8kQDuyVynn DrWf418SUwhrSQf+q7AV2bkBWGdbWU6Hsx7P20NYrQVoQnHCzY7JmVRm+2rqiSgfvOsiXPO5X8 0sY= From: Vijai Kumar K To: CC: Vijai Kumar K Subject: [RFC PATCH 2/2] meta/u-boot: Include libssl-dev only when building tools Date: Mon, 15 Nov 2021 21:36:42 +0530 Message-ID: <20211115160642.765371-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211115160642.765371-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211115160642.765371-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Return-Path: Vijaikumar_Kanagarajan@mentor.com X-ClientProxiedBy: SVR-ORW-MBX-09.mgc.mentorg.com (147.34.90.209) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: UeiHjSphhnrF libssl-dev of the host architecture is needed only when you cross compile u-boot-tools. Signed-off-by: Vijai Kumar K --- meta/recipes-bsp/u-boot/u-boot-custom.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-bsp/u-boot/u-boot-custom.inc b/meta/recipes-bsp/u-boot/u-boot-custom.inc index bc92552..0887757 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -25,7 +25,8 @@ python() { } DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git, libssl-dev:native" -DEBIAN_BUILD_DEPENDS += "${@', libssl-dev' if d.getVar('ISAR_CROSS_COMPILE') == '1' else ''}" +DEBIAN_BUILD_DEPENDS += "${@', libssl-dev' if (d.getVar('ISAR_CROSS_COMPILE') == '1' and \ + bb.utils.contains('U_BOOT_BUILD_PROFILES', 'tools', 1, 0, d)) else ''}" TEMPLATE_FILES = "debian/control.tmpl" -- 2.25.1