u-boot-fw-utils: Add for v2011.06
This provides the 'fw_setenv' and 'fw_getenv' programs for the target so that the U-Boot environment can be modified from Linux. These programs are system-agnostic and rely on a config file that a given BSP would provide and potentially RRECOMMEND this be installed. (From OE-Core rev: 4a2543c0641f1df6d74c18cfe0c3ac3cfd50e60c) Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
433f2ead93
commit
c56792ce08
|
@ -0,0 +1,26 @@
|
|||
DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
|
||||
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
|
||||
SECTION = "bootloader"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
|
||||
|
||||
SRC_URI[md5sum] = "0cc5026aad02f218a9b9ac56b301c97a"
|
||||
SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b"
|
||||
|
||||
S = "${WORKDIR}/u-boot-${PV}"
|
||||
|
||||
EXTRA_OEMAKE = 'HOSTCC="${CC}"'
|
||||
|
||||
do_compile () {
|
||||
oe_runmake env
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${base_sbindir}
|
||||
install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
|
||||
install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
|
||||
}
|
Loading…
Reference in New Issue