From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7030828924489695232 X-Received: by 2002:a2e:b053:: with SMTP id d19mr5602661ljl.231.1637056314393; Tue, 16 Nov 2021 01:51:54 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:178b:: with SMTP id bn11ls2705400ljb.7.gmail; Tue, 16 Nov 2021 01:51:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoOC3/N/m/xwcsSi67zJLppD/3WbJaL+NN6Q17zkEHZn6vlhDv0zx8s9WJYJLBDP55d+d+ X-Received: by 2002:a2e:9953:: with SMTP id r19mr5580751ljj.442.1637056313253; Tue, 16 Nov 2021 01:51:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637056313; cv=none; d=google.com; s=arc-20160816; b=CRGiO+ReACc+460WvD/RbZD2YY6YDLyu8wtsSVvxVa6NmdRHgMPI1niy47zzPdOElJ YYs2H6BeaH+3mQ1B97Hs9JlNk0pszjNvrb29S/7A4s3qUX0vpfmHqWi55bs4w9tBCjAv HcSZJsgrlJ8ZqYw/WFBNw+aZ5yCYVmC6choJaQI99GE2kdxV2DGw6pmCsZrVoHgulArA LCRaeHqGyRY9xx3WDo9Sf1+HHAGgp+Vt+1HSUG9AvROeN+Q9xWeO1V0AhkcOnQB6xtGq M6S3P0pF9rUKxmxrBhle6yYUuTCTh8uUgXuMRr5C+V7XhdcvvUoK9Dk05XXf7TY2EP+p RG2A== 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=u15xT+7qKXSAF4BtS05ffzpXIyoutOKnn3eSWOD/wmM=; b=N5IiWsguKAJW5EK5qSbZ3UNHQ0eWpiuxms8+c9PmjjglUJggmL67TJpt98hKdFlgw7 Gj7acUhKSHtPVGVsdoO9wJkPkA0FYDb/vhHh6uzF9qMHk1myzBFXf1t92TjihwFiiwG+ XnzjE5RQEudEuxyO6mRK9GOxOoHZtqaocHFed/RoAnPMGsVZsQLEI0RBOPbh5jifmzMS qlkAwqzgQH9KUSqLR5hN0qhytmO+HYgfMGyqf0QLy1mMu0U+Y9wJXrsx0cwy+41CMIQP UXOfM+G6ErqaZ1yM7atpQOKzirMEcN1flMqsMIaaYYD5WQmwxgcSwU2bRTIzKd4pLMeX isMQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com. [68.232.137.252]) by gmr-mx.google.com with ESMTPS id c15si1222479lfv.8.2021.11.16.01.51.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Nov 2021 01:51:53 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.252 as permitted sender) client-ip=68.232.137.252; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com IronPort-SDR: Tjp7XJJDRchqEdG06aGdreMoMZ+A7oQEnXX3FXTzAlHGIcFmDNea93VPFR1hzXMgJHkwlWw4FU r2nMn+8no+bve4Nw/XH1oVYIaXzS5nPnV+YbkILUZGGd8AQKzvDe8on8+aqknSO4HzcOu1/o+N J3enYl5D34thjysZzW9l1Q6zPSoVZvjWYn8uWtd3rJ9WHSIGjSjcNgw9xSROdTuVRR+CPIdAQV D1QfPr1dWs3V5kMK5ksMdM8YlHowunpf7uFjMLbEMoO/5yhcsH7Hc64ZoV+FL3IrWa4FEQmPcM JgI5T7xNLo4+nv/U8O7IoQ7l X-IronPort-AV: E=Sophos;i="5.87,238,1631606400"; d="scan'208";a="68544457" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 16 Nov 2021 01:51:52 -0800 IronPort-SDR: AoAGCqX2zClmEUDgmuJ9BndphW3kIIRqMiwy9nHb2jeTsfjJgjKRWzzTaxn066J49HEtzfplMk 2KjL577etRg/kUW6qnjlTZtYQma0p7o9QG8WKyShGch22oLPFLkG0VW4A3ob8+OmDkjO20rFh1 oPWCwm8y1bEY4CZSwlRL1R4+oQkQejWxzGB5nf/Bc7AoxC0qghWa85wAwpPviRERPXTf2mm0yU MAHjYIJFulLuNiRFCiAAQRlaWRe2bSF4ntuMGijz0Lu0lfJspm4w2VAh1pjhQi5UtbBU2JSpNs FQE= From: Vijai Kumar K To: CC: Vijai Kumar K Subject: [PATCH v2 2/2] meta/u-boot: Include libssl-dev only when building tools Date: Tue, 16 Nov 2021 15:21:20 +0530 Message-ID: <20211116095120.769193-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211116095120.769193-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211115160642.765371-1-Vijaikumar_Kanagarajan@mentor.com> <20211116095120.769193-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-13.mgc.mentorg.com (147.34.90.213) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: iNZ3ok4eb9gI 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 60dc1c9..855d6a4 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -28,7 +28,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