From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7033292862949163008 X-Received: by 2002:a67:f912:: with SMTP id t18mr6803873vsq.6.1637661244016; Tue, 23 Nov 2021 01:54:04 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1f:bf86:: with SMTP id p128ls1799880vkf.0.gmail; Tue, 23 Nov 2021 01:54:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLcah9I/2f6saQe9epfxvPNHDpt3A+iw2Q87ys200Ta61qnOBIJW5jwYhgEd0t1a2AT9Ss X-Received: by 2002:a05:6122:1696:: with SMTP id 22mr8020142vkl.2.1637661243398; Tue, 23 Nov 2021 01:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637661243; cv=none; d=google.com; s=arc-20160816; b=lULVTKoixEU349HDIS2tfSnhLJlgr4NwIS42uaQwVQe6cc4+iBYm5tAUvUDXtXx28O AfmfN6YUjFCCGrXy8sd5M760ac+exqw31TZiNQD9G+dHI9qmuxbsyFi9F9B/Q02xGRT3 P3j/zYJFq3GemIfONsj3gw+SIpYGf+4LhGYgwp/ip7aEIilzRUaonisOLumA/ADJeJq/ tRy5BmU2JNqJpGLF6gVi01d+sEsEPjuScGaA41JxdbhjQxBTBNWVYl/X14ycY8SrE4Hc tsQSpefwEPiJZP2TE514T4OOm2Z8Bwmrd16iGdTuBuuLBBXV/TbJYEbNJM1tcVz7jy4C UJ3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:to:subject; bh=j0uHCNmvsF1kWG7tQIsA8rx1y5m/uj2z0JiWCLirWv8=; b=wIgtxqRdtTD+LL3wtnW7hubYT6/N3WeEJm9UsoWeDUDehiEe5bIDAtWxXqmqq8abd7 6nh9JX2PbWvjahJNTLaqXpwPt2TSx3rxvaDaYwrzW45LEyNIfjKRpqMeyMheKIK7wP0l AZRZOHJ1OVGiZ1P75IryVzzSmlWJYkLFCZIjcgGbrLgISGIhHxIJ+xi11T/FYa/czj90 JdzoE0UDGDy4AAG3wN6LdQDnUxYYzjmZZNd4KQWCXqXcaWeAV3Z4pxK4qdOpsNjnTfx6 qHWrulOYAetj32HpPZxQWiGw524sXi44FggirtH/FntNAna5t/W8tiCLOMLjX0NdwAM8 2MiA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=quirin.gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id r20si188277vsn.2.2021.11.23.01.54.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Nov 2021 01:54:03 -0800 (PST) Received-SPF: pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=quirin.gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 1AN9s18U016271 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Nov 2021 10:54:01 +0100 Received: from [167.87.35.152] ([167.87.35.152]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 1AN9s1pb021772; Tue, 23 Nov 2021 10:54:01 +0100 Subject: Re: [PATCH v2 3/4] meta: u-boot: Prepare for newer versions To: Vijai Kumar K , isar-users@googlegroups.com References: <20211122152607.2125422-1-Vijaikumar_Kanagarajan@mentor.com> <20211122152607.2125422-4-Vijaikumar_Kanagarajan@mentor.com> From: Gylstorff Quirin Organization: Siemens Message-ID: <8319aef1-420a-034e-9152-b0c3c8c3536a@siemens.com> Date: Tue, 23 Nov 2021 10:54:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211122152607.2125422-4-Vijaikumar_Kanagarajan@mentor.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: D2WwetCcs91F Hi, On 11/22/21 4:26 PM, Vijai Kumar K wrote: > Newer versions of u-boot require libssl-dev:native for compilation. > It also needs libssl-dev of the host architecture for cross compilation > of tools. > > Signed-off-by: Vijai Kumar K > --- > meta/recipes-bsp/u-boot/u-boot-custom.inc | 4 +++- > 1 file changed, 3 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 5198809..cfae0e2 100644 > --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc > +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc > @@ -41,7 +41,9 @@ python() { > d.setVar('U_BOOT_BUILD_PROFILES_remove', "config") > } > > -DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git" > +DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git, libssl-dev:native" > +DEBIAN_BUILD_DEPENDS += "${@', libssl-dev' \ > + if bb.utils.contains('U_BOOT_BUILD_PROFILES', 'tools', 1, 0, d) else ''}" Is there are reason why you didn't use `Build-Depends syntax extension` from[1]? [1]: https://wiki.debian.org/BuildProfileSpec Quirin > > TEMPLATE_FILES = "debian/control.tmpl" > TEMPLATE_VARS += "MACHINE DEBIAN_BUILD_DEPENDS" >