From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7032538138723483648 X-Received: by 2002:a05:622a:192:: with SMTP id s18mr12838350qtw.6.1637390386734; Fri, 19 Nov 2021 22:39:46 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:622a:1789:: with SMTP id s9ls1081187qtk.7.gmail; Fri, 19 Nov 2021 22:39:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwECFGzkXoFQWuBb24YWXgMCnhDuEwEm1+xq+4k2QqAL71YQzzupeFWvXUjaNwNwQSnEJxW X-Received: by 2002:a05:622a:1491:: with SMTP id t17mr12365459qtx.402.1637390386277; Fri, 19 Nov 2021 22:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637390386; cv=none; d=google.com; s=arc-20160816; b=GpInUrUQ9K8uzAYANYePvTsvcbaTZ3GJKzr0ufy+Bw6+kfC576lraKG151utum1F5k 8LzLbeTtcd1a8nCQcSMxogmH7kHoWS6LP6y8wqJIbiUWUEThdG2IbNBPQq+6Waiwsfk1 rbzT5xw6GfwMDH+ZmpSAMkXhDSdEoZsmb/wgaUy79qqCceRFt9V19DmNV/ySriw/6SUl C6eT/374m+LwSmW9RQq1+kFizqVFYj5ja2JUHAgH45CihGM0wjOCXcXhS4V7ER5ewFxb 2KYrDWpm1WaBrY8hTxPxF50RaCjKQZql4KAYLAdBfle+DM5MMUWNTsr9MgIkZqPJzkWQ VNDQ== 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=kfMr6OXt5fgpNibldBRRxNYpOAtRauGIuozk5HZi7sA=; b=vDyg9tnvbqaGXnqMiYBtVClIrV1RJd/RbM7EVl49uOBwUKXXcgmY7nEdb1LMTRoKDH KLuhxGYJ9bF+XDEsxSiJ9eIpXb5cguT0EmruNwsUIWrHsVl6msq3xbMSd70pq9zGBqtI MizxaPYxbCr+TIfe602SVr0Th9UiGSLPBjb9BC9zFnu46i4zDB79aIrV7TKBZWHrdBbV nS4wOR6Apl21jxO940SNhK9XraqKeIe4Ze1xwmXT6PGv/chb5UVxwNwhchqSz0xLUfW8 tnTVWyHU6O17iov1FC1zlaKrVqYURafMz4v5Do1XxBvIGHbBWR7AAH7gwTzyFb7Wb/8h O+mw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com. [68.232.141.98]) by gmr-mx.google.com with ESMTPS id u7si318333qki.5.2021.11.19.22.39.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Nov 2021 22:39:46 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) client-ip=68.232.141.98; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com IronPort-SDR: EqpbD73A5Efx5FjYVpUhuI1/Xx9rMkFQ1q68V16eyD/xQlqJwHyvWt0EY4G0jZ+Y/h6lYMyQ2P 3K8ptNsv2c/KQSrw8e1KARXh00SPwsyWDt1PqZJRGPnytN5mt6vXj1obsry//Oyk9EzNc9rgVt Lwdj/WiOyB07FZ6jzQHoryorcTC+1d1nPbHOcSxKhFV0qcHmu6NXSWk4uBzeyUlC8JCjw1lmuT usJctHrseFtk9V32wFuI1g0WEUCKPULRMpPxER/YNfSOk8h8660ev1cfsDt4gxbgKaaVgvZ8r1 wSnxdJ6jbC4jisv3tAnU+a49 X-IronPort-AV: E=Sophos;i="5.87,250,1631606400"; d="scan'208";a="68712291" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 19 Nov 2021 22:39:45 -0800 IronPort-SDR: Xepjmu/A5CMv3cX+ogVv9oEIPkkQuKc0HsOu9j2/bTXzBSrjKvwAZPrrNVcCl2ktHbZQf5qpjI 59CI7P9kNM/YRQiNARNmzmH3ybwKtb5IPV9TinFUzRgGIZg2TtvVP1FHKtb9/3WlmDkX/vaEDt exYhXUEWA+Ss55Gs1hkPDXIKESia9dv1mdLt+u0TB2TSVnp0ZXxfR3blB6Pcp7fLVvv145XgmK 14XJd7LGGJIFDa83K5Xn4RmMkzZ/AEKUskEczjuTtaGriaz1fL6r8kE6mJ74zoEI4q3zIKfjpl Lzk= From: Vijai Kumar K To: CC: Vijai Kumar K Subject: [PATCH v4 2/3] meta/u-boot: Include libssl-dev only when building tools Date: Sat, 20 Nov 2021 12:09:20 +0530 Message-ID: <20211120063921.1588706-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211120063921.1588706-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211120063921.1588706-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-06.mgc.mentorg.com (147.34.90.206) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: vBQC+jjhSTI9 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 5e8a15b..4001f8c 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" TEMPLATE_VARS += "MACHINE DEBIAN_BUILD_DEPENDS" -- 2.25.1