From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7026294254479605760 X-Received: by 2002:a05:6512:3745:: with SMTP id a5mr51181517lfs.666.1636093708536; Thu, 04 Nov 2021 23:28:28 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:10b2:: with SMTP id k18ls681082ljn.3.gmail; Thu, 04 Nov 2021 23:28:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF3uD4NhUUapjJqk4h1smJy2wNJaa7HSNgXr1CthKhVSJnilBenNXxZgEc7xesCP7uktUN X-Received: by 2002:a2e:bc1b:: with SMTP id b27mr16834222ljf.110.1636093707391; Thu, 04 Nov 2021 23:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636093707; cv=none; d=google.com; s=arc-20160816; b=NU95cgZuwF08o9VqI5cXRCfUVSBPEJfbXCABAyTX5FNonDSflmCKwg6elyRgqpCXVn JszHlVtITE10cmFPfKCNxeOtQiJz5ZQ1pKCGlDLmtdbUyWtmkT8xx9Plw3On07Jr1E/x 9b75P+LYWBedk4OyBTJ/c5TlH/XiEOST0gGUakvsKODkx9Qi89iRq8w+wAAVpFNuw7Nx 9a+5QyE0bzWOgdKwo36WdmYkaTao6+7v7VK5hWWeGruxnEm+leQGJQErb37e74J1HyLe UDpYXCaB/97YIPJEgHwIjurMzJYTzQcGHXiFw+3/NrW6e9CIarQPsRSybXtiUyiW5Q5D Mweg== 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:from:references:to:subject; bh=VuFeAgijfigzXM7dshsqV3/lX56TMGQ+CaC5D686Gsk=; b=bCvcgK2I0F4Qh6HlkPCOoQzWkPD1jlx4Ti9w2elih1WvYei71ur5FxW29W2CSfOXb8 qYG1xZhRAOGMh++j12S2VCKot4iQN9hEU1SXIYHTdPh3FPqAKHsQFOn+0097dFCqbQXL ZruHDx0vn+FZBnM8CqHZqixWCocPVCbfahO/ezpCAr4uz0X4W7NYgWY1angOsE2xxZgj Cc7gtuXlLEZowzps/U7pCwe7R4kPWOv2BIMqv2rQuObJJozgn1vxZBiaMKaCz74QhT0m 1I63qBo2zhHDEYO68tbVVJdoirbNwVouHW2fxLSo1KGHuIXlr4jU+q0pfDUlCbkosVlN zqXw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id o22si634807lfr.11.2021.11.04.23.28.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Nov 2021 23:28:27 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 1A56SQTa029580 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Nov 2021 07:28:26 +0100 Received: from [167.87.1.24] ([167.87.1.24]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 1A56SPpt008640; Fri, 5 Nov 2021 07:28:26 +0100 Subject: Re: [PATCH v2 2/2] u-boot: Move libssl-dev dependency to u-boot-custom To: Vijai Kumar K , isar-users@googlegroups.com References: <20211103104950.2138656-1-Vijaikumar_Kanagarajan@mentor.com> <20211105061521.2142204-1-Vijaikumar_Kanagarajan@mentor.com> <20211105061521.2142204-2-Vijaikumar_Kanagarajan@mentor.com> From: Jan Kiszka Message-ID: <7da7eb13-2b2b-cd59-14f9-e43d1808dd5d@siemens.com> Date: Fri, 5 Nov 2021 07:28:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211105061521.2142204-2-Vijaikumar_Kanagarajan@mentor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: Hv+fpe9WuJIK On 05.11.21 07:15, Vijai Kumar K wrote: > Move the libssl-dependency to u-boot-custom.inc. > > u-boot 2021.10 or later needs libssl-dev to compile. > I think this started even earlier. In meta-iot2050, e.g., we have this for 2021.04 as well. But it would require some research to identify the exact version. > Signed-off-by: Vijai Kumar K > --- > meta-isar/recipes-bsp/u-boot/u-boot-2021.10.inc | 2 -- > meta/recipes-bsp/u-boot/u-boot-custom.inc | 2 +- > 2 files changed, 1 insertion(+), 3 deletions(-) > > diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-2021.10.inc b/meta-isar/recipes-bsp/u-boot/u-boot-2021.10.inc > index 964ae6d..f3f822a 100644 > --- a/meta-isar/recipes-bsp/u-boot/u-boot-2021.10.inc > +++ b/meta-isar/recipes-bsp/u-boot/u-boot-2021.10.inc > @@ -5,8 +5,6 @@ > > require recipes-bsp/u-boot/u-boot-custom.inc > > -DEBIAN_BUILD_DEPENDS += ", libssl-dev" > - > SRC_URI += " \ > https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \ > " > diff --git a/meta/recipes-bsp/u-boot/u-boot-custom.inc b/meta/recipes-bsp/u-boot/u-boot-custom.inc > index 9984d8c..d51a296 100644 > --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc > +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc > @@ -24,7 +24,7 @@ python() { > d.setVar('DEBIAN_BUILD_DEPENDS', d.getVar('BUILD_DEPENDS')) > } > > -DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git" > +DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git, libssl-dev" > Just realizing: Is this a host or target dependency, i.e. is it (only) needed for building packaged tools, or does U-Boot need that for host tools? In the latter case, libssl-dev:native would be needed to ensure the right package is installed in case of cross-builds. Please check so that we are not leaving this issue half-done behind. Jan > TEMPLATE_FILES = "debian/control.tmpl" > TEMPLATE_VARS += "MACHINE DEBIAN_BUILD_DEPENDS" > -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux