summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2020-01-03 13:33:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-07 12:43:28 +0000
commitcfdaad287b8bfe6909acc0257d120c58abe8ae5e (patch)
treed651de642269fca0347fac4c420d562951bdeb6b /meta
parent260a215171b3998091f08c71deb7a7b49f994d2f (diff)
downloadpoky-cfdaad287b8bfe6909acc0257d120c58abe8ae5e.tar.gz
libubootenv: Add libubootenv which replaces u-boot-fw-utils
libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils. A full discussion about issues on current u-boot-fw-utils can be read on U-Boot's ML at: http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none (From OE-Core rev: 325a8dec3c24723e02c8c7a0b416321adc7a5717) Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/maintainers.inc1
-rw-r--r--meta/recipes-bsp/u-boot/libubootenv_0.2.bb26
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 39eee9475c..09453e7343 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -398,6 +398,7 @@ RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield <bruce.ashfield@gmail.com>"
398RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <alex.kanavin@gmail.com>" 398RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <alex.kanavin@gmail.com>"
399RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <timothy.t.orling@linux.intel.com>" 399RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <timothy.t.orling@linux.intel.com>"
400RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <anuj.mittal@intel.com>" 400RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <anuj.mittal@intel.com>"
401RECIPE_MAINTAINER_pn-libubootenv = "Stefano Babic <sbabic@denx.de>"
401RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <anuj.mittal@intel.com>" 402RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <anuj.mittal@intel.com>"
402RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <anuj.mittal@intel.com>" 403RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <anuj.mittal@intel.com>"
403RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <tanuk@iki.fi>" 404RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <tanuk@iki.fi>"
diff --git a/meta/recipes-bsp/u-boot/libubootenv_0.2.bb b/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
new file mode 100644
index 0000000000..23230d132e
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
@@ -0,0 +1,26 @@
1SUMMARY = "U-Boot libraries and tools to access environment"
2DEPENDS += "mtd-utils"
3
4DESCRIPTION = "This package contains tools and libraries to read \
5and modify U-Boot environment. \
6It provides a hardware-independent replacement for fw_printenv/setenv utilities \
7provided by U-Boot"
8
9HOMEPAGE = "https://github.com/sbabic/libubootenv"
10LICENSE = "LGPL-2.1"
11LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"
12SECTION = "libs"
13
14SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
15SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e"
16
17S = "${WORKDIR}/git"
18
19inherit cmake
20
21EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
22
23PROVIDES += "u-boot-fw-utils"
24RPROVIDES_${PN} += "u-boot-fw-utils"
25
26BBCLASSEXTEND = "native"