summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-02-08 11:00:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-10 14:38:41 +0000
commitc56792ce089a5594d8d4826688137fb962b8e86c (patch)
tree7c1eacc6b78ef396f517cb33ac89be979376ea0d /meta
parent433f2ead93438e0d4d59b24ed3d6097dd658972f (diff)
downloadpoky-c56792ce089a5594d8d4826688137fb962b8e86c.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
new file mode 100644
index 0000000000..3185cbd85b
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
2LICENSE = "GPLv2+"
3LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
4 file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
5SECTION = "bootloader"
6
7PR = "r0"
8
9SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
10
11SRC_URI[md5sum] = "0cc5026aad02f218a9b9ac56b301c97a"
12SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b"
13
14S = "${WORKDIR}/u-boot-${PV}"
15
16EXTRA_OEMAKE = 'HOSTCC="${CC}"'
17
18do_compile () {
19 oe_runmake env
20}
21
22do_install () {
23 install -d ${D}${base_sbindir}
24 install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
25 install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
26}