diff options
author | Stefano Babic <sbabic@denx.de> | 2020-01-03 13:33:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-07 12:43:22 +0000 |
commit | 325a8dec3c24723e02c8c7a0b416321adc7a5717 (patch) | |
tree | 6a9cf52280e3d80e4230700f8c4b2bf2d946f905 /meta/recipes-bsp/u-boot | |
parent | 4d72cd395b2dd40dde1f3809e3ab255938e6a7a1 (diff) | |
download | openembedded-core-contrib-325a8dec3c24723e02c8c7a0b416321adc7a5717.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
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot')
-rw-r--r-- | meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 26 |
1 files changed, 26 insertions, 0 deletions
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 @@ +SUMMARY = "U-Boot libraries and tools to access environment" +DEPENDS += "mtd-utils" + +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" +LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c" +SECTION = "libs" + +SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https" +SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e" + +S = "${WORKDIR}/git" + +inherit cmake + +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" + +PROVIDES += "u-boot-fw-utils" +RPROVIDES_${PN} += "u-boot-fw-utils" + +BBCLASSEXTEND = "native" |