public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v4 1/2] meta: u-boot: Prepare for newer versions
@ 2021-11-19 17:49 Vijai Kumar K
  2021-11-19 17:49 ` [PATCH v4 2/2] meta-isar: u-boot: Update to 2021.10 Vijai Kumar K
  0 siblings, 1 reply; 2+ messages in thread
From: Vijai Kumar K @ 2021-11-19 17:49 UTC (permalink / raw)
  To: isar-users; +Cc: Vijai Kumar K

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 <Vijaikumar_Kanagarajan@mentor.com>
---
 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 9984d8c..3680f01 100644
--- a/meta/recipes-bsp/u-boot/u-boot-custom.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc
@@ -24,7 +24,8 @@ 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:native"
+DEBIAN_BUILD_DEPENDS += "${@', libssl-dev' if d.getVar('ISAR_CROSS_COMPILE') == '1' else ''}"
 
 TEMPLATE_FILES = "debian/control.tmpl"
 TEMPLATE_VARS += "MACHINE DEBIAN_BUILD_DEPENDS"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-19 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 17:49 [PATCH v4 1/2] meta: u-boot: Prepare for newer versions Vijai Kumar K
2021-11-19 17:49 ` [PATCH v4 2/2] meta-isar: u-boot: Update to 2021.10 Vijai Kumar K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox