Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "U-Boot libraries and tools to access environment" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | |
| 3 | DESCRIPTION = "This package contains tools and libraries to read \ |
| 4 | and modify U-Boot environment. \ |
| 5 | It provides a hardware-independent replacement for fw_printenv/setenv utilities \ |
| 6 | provided by U-Boot" |
| 7 | |
| 8 | HOMEPAGE = "https://github.com/sbabic/libubootenv" |
| 9 | LICENSE = "LGPL-2.1" |
| 10 | LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c" |
| 11 | SECTION = "libs" |
| 12 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame^] | 14 | SRCREV = "ad253cfdb07c8492f2ee46a52fbc607ad0b96414" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | inherit cmake lib_package |
| 19 | |
| 20 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" |
| 21 | |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 22 | DEPENDS = "zlib" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 23 | PROVIDES += "u-boot-fw-utils" |
| 24 | RPROVIDES_${PN}-bin += "u-boot-fw-utils" |
| 25 | |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame^] | 26 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 27 | |
| 28 | RRECOMMENDS_${PN}-bin_append_class-target = " u-boot-default-env" |
| 29 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 30 | BBCLASSEXTEND = "native" |