From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7030828924489695232 X-Received: by 2002:a9d:a4c:: with SMTP id 70mr12080248otg.40.1637134540285; Tue, 16 Nov 2021 23:35:40 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aca:5989:: with SMTP id n131ls7381845oib.3.gmail; Tue, 16 Nov 2021 23:35:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/kr7qdNTLFcL0fiiatMAhkNN5mNNYZdsavzKYu3ivheOASLsvyh/BJUWudoGrm3tjl6da X-Received: by 2002:a05:6808:13ce:: with SMTP id d14mr53702939oiw.62.1637134539878; Tue, 16 Nov 2021 23:35:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637134539; cv=none; d=google.com; s=arc-20160816; b=kFI1w7mSiR61NInfAg8Tjv1VdhnOKK9eD73rJfs4/5PQvzvU0TD0O1XKnfRzJsom8I 15nvq4UphMi62cmxVKpqLt0zqXGtqVr0vPVBzsuYfvQ6W0H+B4zteQ8oTQhvBhGDA17O 0lQPj4JfsgAfcGNv2RJDezFufmZqcDliXllJMwth7ZuFGrB9aDkesecWzvWhpsl242xy nVunDwTAP2hS/SQmry5Grt9sJENOZ0xkY66U5Sa80mjYaiGjomRbspbhLLAxdCZEWU0n 9q4ol1oJQk6KOC0rXI5IoFZdTFWGys4QQQDFkaPfAj+TXfznUh9LXsdxcAwTgNwB9hY+ Wapw== 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=Y8SDciJVuFcYislRpJIFrJUOiOssE1hrnCzPXVOSeIc=; b=QSrTyvfArsr3yHqjkcuouLQbszzQg3spaGmtkOUpFKWJsECOPqa/yam5kQCI8aHNsH u+iCg/NL+V/OgwIK6hMAVeKvMZdecaqvYhEadiinm67r/T0lvMsWtoyTLReVTsN7AGrg Y4stQVYw07ddBd2t15BGZ+uyPkSIfjP4+fTbnqNUccUkOMGwodANpbUKsWnd//ZJnjHY 3DPx6uLywMcoMxC1Aqu1RrOz7+SkRlwbR2KIZW3jH2o4RDWdHMzmvi9to9BXL/E8yF6N 6FawRJvmCZHzM+JU9+C4ufXIsPqtu/JU7b8x7dvxnDVgN0yvDIahrC0zGubAuEySRlk9 syZw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com. [68.232.129.153]) by gmr-mx.google.com with ESMTPS id u27si1911814ots.2.2021.11.16.23.35.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Nov 2021 23:35:39 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.129.153 as permitted sender) client-ip=68.232.129.153; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com IronPort-SDR: VYeAzqoigKiu12SF56+GnAbKJNxtV/VKsYTDRiYw0QfVxwJ7rkGhaS50E6jnwmExP+Yuq8V6yW 8+xzkFJpGpV+xoIQv+v8ypbIAGEQn0rH/KN4Zn+AT2+Oo7v8D6Ytu6AVUqq/disVgQbmJn624W WY125uQaiWj3+Mw2IUS9vaR4+yv/7YQs2aSVk/p11iSlvKGCPgBYaXJak9SfXxB+XjCvI77zyR CyIUMfKAqgBaE5hJG+fDS9VD4h3K9Ot54rVkaw8MJ4HcWqFHSp6mX006FEU68Ly6cv9E9Phsez WLy0Gj3CUejmC3JYbrMAsP6V X-IronPort-AV: E=Sophos;i="5.87,240,1631606400"; d="scan'208";a="71060790" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 16 Nov 2021 23:35:40 -0800 IronPort-SDR: 0WD7sbdRnwdgrkKD53tED58BfyDGiNg9Ws+CK0aaj3iIRdC5UExT/puhGCxhfnBwbJEFUv3Hf4 6ZsFLDz/guZjmdFZZCsbDhkUA75bsbbs9KzoBjwp551aZF8modwZ5/tSJS8HxnIupNApm/pXo6 1r6v0+ZC2cJRNV8eYweMyegO62roBxc5+1nryoE1SFrDJcy67hTiaPp6gRoYGRkE2/UU4Flacr XNX4aPDCVXmpAIjTRQ9sC6av3IUKivLLfV8LOR+6REmTvfBv51Y1zChKkAHMEkFzxzAxZy92uR mFY= From: Vijai Kumar K To: CC: Vijai Kumar K Subject: [PATCH v3 2/2] meta/u-boot: Include libssl-dev only when building tools Date: Wed, 17 Nov 2021 13:05:15 +0530 Message-ID: <20211117073515.773106-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211117073515.773106-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211117073515.773106-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-11.mgc.mentorg.com (147.34.90.211) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: dPeMXQMQCqQB 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 f7a7dac..a18f3cb 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -42,7 +42,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