Преглед на файлове

Backport libubootenv 0.3.5

SWUpdate 2023.12 requires libubootenv 0.3.5. To support last version of
SWUpdate, libubootenv must be ported to the releases with older version
of the library.

Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
Reported-by: Ayoub Zaki <ayoub.zaki@embexus.com>
Stefano Babic преди 1 година
родител
ревизия
2b62a37701
променени са 1 файла, в които са добавени 26 реда и са изтрити 0 реда
  1. 26 0
      recipes-bsp/u-boot/libubootenv_0.3.5.bb

+ 26 - 0
recipes-bsp/u-boot/libubootenv_0.3.5.bb

@@ -0,0 +1,26 @@
+SUMMARY = "U-Boot libraries and tools to access environment"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv utilities \
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c"
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https;branch=master"
+SRCREV = "3f4d15e36ceb58085b08dd13f3f2788e9299877b"
+
+S = "${WORKDIR}/git"
+
+inherit cmake lib_package
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+DEPENDS = "zlib libyaml"
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES:${PN}-bin += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"