From patchwork Tue Nov 16 21:35:15 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: 1042 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Wed, 17 Nov 2021 08:35:47 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f62.google.com (mail-oo1-f62.google.com [209.85.161.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 1AH7Zjcp010386 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 17 Nov 2021 08:35:46 +0100 Received: by mail-oo1-f62.google.com with SMTP id y9-20020a4a2d09000000b002c600da5eb9sf1248129ooy.9 for ; Tue, 16 Nov 2021 23:35:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637134540; cv=pass; d=google.com; s=arc-20160816; b=YWAsQpUKPHhG0rJlrGW17Rl+iBEnUEnofPhB3otXKlG19784hUuJQdCsPxvlG52JqV ay8elwoE1JroSt0Glht7g0g8E4Ul7z4Q5W4Mfth5wVVVH4e0HXOf3v3z1Zxy7WpOIZqh 2OMMOw3KqvF0WwFZx3SrU8qHyAdXcLR1KyAhSVtb5KhAAwqGwj8g/GXA19By6xY9U/Sl UZ+qisCpT6AZe/jMipI8Qj15YXH05ivG1Af3SWQ7mkyDr+Q8EFfJC+GrfxgGQNkiG/xO 68HCnVZuYd3lvomaRiYB0NOXsnZ9uISDsLeCuLGlYowQipWiaQDcn1gzXKCWRnAIsXar NwFQ== 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=p6ZCMW04gnc5EYeRn0mJXDLK7V4xy0UcJnDSAGuYY8Y=; b=jlYoLhaq4lOmDngJ0yl8DqmMqzduPI8Qv6HIYGTAH4XrIZFwZ+CwA1rzdtaUH+qePP F2K22fjLyfHSl24Au9VE+qG8ZQrV3W7UuapaLPQ2nYAzQ5qU69hcX7Wpp6j3sAkQ5kdQ sAFCGvaXLbHZzTVmrIx2d9H8pgciJ7FACVaMgTL/jdyo1BZnBM66qIgGGRWeqiQ4eVFk U7CfM/nm+YcJZxt7R8QnBkxoPizwNFjYPdwYppOAFtAvgcZjdnjfUoYaOXDdnKTVHd/X 0+JiVxxkzJsgHoz3m6bBxZMwJZ+tPLXhP3Jns0tG/JdRh/woIMIl26hOhw8GgwLTs3eN ynaQ== ARC-Authentication-Results: i=2; 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 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=p6ZCMW04gnc5EYeRn0mJXDLK7V4xy0UcJnDSAGuYY8Y=; b=KSLd1oksLMUVAiovejy+C7879dShwjx8YnqIycYhEC7la98S80wSlI9Y9AhR74Yhqb 3sba3UxIh5q8mmzv525TBBeWAGReed5iGMQRyLdM5h3dw0bJF5jRg0jbJqXTpF/OqXyd L9CIg9ZXMfGoNZ4SNg5gvoZNB1iaWLRCr9FJSn0LxHDDAK5LrzA6XRi1XawcFNUh5f0v iYPeEBregPIZebeUIOZS6zIpBB7u8H4bL7+rl04UGHRw368NBQs8Z2bEG7KnwuoNA6vn ko6TDFPgV28+kvEbGgw9xnCMgR6OZ7QHY0/te3g+rwJaHkqyDf3PPpAKjvjtPwBZV1Rl 7wCQ== 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=p6ZCMW04gnc5EYeRn0mJXDLK7V4xy0UcJnDSAGuYY8Y=; b=AAHAjJr5hOjwHqEw7WYObH05TZwYdjTctmZpIwIx5qz0VjFmrwKvYJrnIE8HPFp3FX YtmxsqPa2JFUF0PPD+Nyhrycf3ovK96UiNUw5dv60EHte1iEv+HLdowixBSs2blckIR8 Xh0PGYEAOBju3kHY9nt5KZjUSGDQHg/kizFyhAEwIL44t14IgItAKN6PLsWv0gdrSwm6 DRVghmfltZqTqxazLLm+uLQgerJ+lguANVOwYLicXOO48q1OVRLK3mZ1uEunQJTF4/zE RLtXdI8dKloeehq5e6mUpJ1+kSrgMgbAXXO2Ja4S0ojSXIqe9TPfXwAw31Od7SO8Cbej GYKQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533T75TVGhDIDIji9t/pPs/cLICSocIw1pkb9G0bgo/VIGNoDjTy mtsnyCMBATAU3ueQ/h623Wg= X-Google-Smtp-Source: ABdhPJwRdoIY20P3/thjpvsrg+JhkM35lBE7osbla5QhM9N8D8bNQ56AABq3WXfKculDeJp3mdYhWw== X-Received: by 2002:a05:6830:2058:: with SMTP id f24mr11961341otp.288.1637134540219; 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-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 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; 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 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-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.129.153 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.8 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 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"