diff options
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb new file mode 100644 index 0000000000..fe3422a2cb --- /dev/null +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | ||
4 | SECTION = "bootloader" | ||
5 | |||
6 | DEPENDS = "mtd-utils" | ||
7 | |||
8 | # This is needs to be validated among supported BSP's before we can | ||
9 | # make it default | ||
10 | DEFAULT_PREFERENCE = "-1" | ||
11 | |||
12 | # This revision corresponds to the tag "v2012.04.01" | ||
13 | # We use the revision in order to avoid having to fetch it from the | ||
14 | # repo during parse | ||
15 | SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d" | ||
16 | |||
17 | PV = "v2012.04.01+git${SRCPV}" | ||
18 | |||
19 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | EXTRA_OEMAKE = 'HOSTCC="${CC}"' | ||
24 | |||
25 | do_compile () { | ||
26 | oe_runmake env | ||
27 | } | ||
28 | |||
29 | do_install () { | ||
30 | install -d ${D}${base_sbindir} | ||
31 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv | ||
32 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv | ||
33 | } | ||