From patchwork Mon Nov 15 06:06:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1035 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Mon, 15 Nov 2021 17:07:21 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f186.google.com (mail-lj1-f186.google.com [209.85.208.186]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 1AFG7KKE000464 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 15 Nov 2021 17:07:20 +0100 Received: by mail-lj1-f186.google.com with SMTP id i14-20020a2e864e000000b00218a2c57df8sf5244242ljj.20 for ; Mon, 15 Nov 2021 08:07:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636992435; cv=pass; d=google.com; s=arc-20160816; b=0ncfKZXlya0wqg6icryiYy+wEEEWH0/8M9i8GBor7ZMl2APTgr4bz7R/lUDogGtxM6 bly/76c/nSIvz5K36Oca0a7SSNPoGnbIBg+hIPiPATit94q4Uy1PcawCxNsSSUjilXRU YeMjLO8e5ztdOzr7vUOpIfjH0F8GwglbgY0VS/fUoX8d8441H2O9BMirVf0safU3NPzV khNfQd0k+ULkl7eINONpk4HKLgjzd49wfc+NvM2XGMIepXkJEtmfKsuorgBOhiA/wU9K uGFksJSr+IxUGA1Nia/xHBDRwnzqQAh2iBgmQGtE7Lm6S5ig42md/UhzOKEH6wdN/ZuW C8Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=dtKAp3ITXFR5oP0c8pMHALNtat4xBsT7aoeCQORpQPA=; b=YBq5+rVSwAw+ZEV3QrJrztoOcsRjKBY3lp4mcXQMi6KXMeVwDooxH1+CWPJpk2S8dJ iEFyOgJ3Ip2cucHFoel50XRpJhKlhcApgxTz1WzvOMEgA5gpRrJw1rLoj7MXc1l2LuRB vY0W1WHwHB5hkgtf9AnJ8D6JDDoasYxgSZNX5uXacP4xcL/gtoOyYHDef2i7zmYkNTDY 7zFFugvXf77qsusOKND8Cg0C7zwA7EebGabkbGAZiHkzkP7MzxFnKp3XKdyZ0BKHoiIC dWUrVJJtOl42AhvkSGJ6JBifsgENor2UOftMzy810uR3eAY6TZOaeaUmEhZNVwl1qBWK xu6g== ARC-Authentication-Results: i=2; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:ironport-sdr:ironport-sdr:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=dtKAp3ITXFR5oP0c8pMHALNtat4xBsT7aoeCQORpQPA=; b=QHod8UuniTIC6Zh2TtB2UMeDjwOASPU9FPF94v137IVmimvJDrTfOPQm03t1Uku/2X 4NgudTliss5Gdoh5oCC2m8bjMz6Jq2XB/i9U//0dZQhvDgNUIDBhgEScH0lAApn6MixM DB6nXZso83hZecHVSyr43MI1x9/GVNZmZfeITLPIPzTIBnqAr/q4vWbWVMgwKJ57syDf PEjAwjpxNwJgTSQ3jM2Yadkl84ZHyLpwB855fspd6LbZb/tko47KUT1yNjFuGFZhQlek IYmWNwdJSnFklKWSJP44TXalXGP5SPWLaHWNxXSmXy+kPKCMuC2S/nd+XG6mjrC7g3iB YPwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:ironport-sdr:ironport-sdr:from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=dtKAp3ITXFR5oP0c8pMHALNtat4xBsT7aoeCQORpQPA=; b=BodZ0nqMtZqj6HhLbHsfPrYpPeDiZ7aCauuU089EHLMJcHM9T8MuJg0z+54Ytl9DSr FKekwAkNjHX6lQrkUM3+MjHaRji6cmKFK+I8h1pnHIv06MZvRhmi9SMDVoshVCXnlLt/ Ns5V+/JgsTAmtB3u+BlVHwdgmrCb13KpM8JHxheV/9SYmUZ8rgvwXnwDDube1bFbXkBZ WQ7mFv3d/fA88n3X3daJm3xY9K3Mjli3tP71rjdVc/u+k++vapqxeJleJXr/cvstY3/d T1dZGy0BArEI/pN7HeBPJAUJGiEtVaZV1SBPpDDL/wDL2peUUpu2KDJYALRmSikU1oAh CH4A== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533FYiLUo96ZnBdnRFp8pEMSaFH1DwMdkUjmygs+Q4hWL14K4+Vm I6uTc77jv4Qcdl47bOLqOvE= X-Google-Smtp-Source: ABdhPJyOQuFhHL00PBcvaRplQMWzJSInuLyFmLB8rGHENRfDQWk828hJ1+o4QmBFpzqXzrInB+Aseg== X-Received: by 2002:a05:6512:39c4:: with SMTP id k4mr35060732lfu.79.1636992434533; 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-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 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; 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 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-Original-Sender: vijaikumar_kanagarajan@mentor.com X-Original-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 Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX 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"