summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2013-09-13 19:21:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-17 19:34:56 +0100
commit9a4169a46555cd1b6a648522ce2b782ac1874343 (patch)
tree47146eea15748706d638232bf78b9014c3f895f5 /meta
parent14fee32867c42c0610411c83a0f85dc9a15971fa (diff)
downloadpoky-9a4169a46555cd1b6a648522ce2b782ac1874343.tar.gz
u-boot-fw-utils: reinstate target recipe for fw_printenv
The latest upgrade changed u-boot-fw-utils to u-boot-fw-utils-cross, which removed the on-target fw_printenv (and fw_setenv). Re-create the updated version of the u-boot-fw-utils recipe. U-Boot does try to strip the fw_printenv binary by default now. To avoid this, without patching the Makefile, we add HOSTSTRIP=true to EXTRA_OEMAKE. The new U-Boot do also require us to configure the build for a specific machine, thus we change the package arch.ยง (From OE-Core rev: 83cb07047658e2e2b2d721e1b01553d4df3d8636) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Saul Wold <sgw@linux.intel.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_2013.07.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
new file mode 100644
index 0000000000..f97df71a7f
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
@@ -0,0 +1,31 @@
1DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
2LICENSE = "GPLv2+"
3LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
4SECTION = "bootloader"
5DEPENDS = "mtd-utils"
6
7# This revision corresponds to the tag "v2013.07"
8# We use the revision in order to avoid having to fetch it from the
9# repo during parse
10SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c"
11
12PV = "v2013.07+git${SRCPV}"
13
14SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
15
16S = "${WORKDIR}/git"
17
18EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTSTRIP="true"'
19
20do_compile () {
21 oe_runmake ${UBOOT_MACHINE}
22 oe_runmake env
23}
24
25do_install () {
26 install -d ${D}${base_sbindir}
27 install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
28 install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
29}
30
31PACKAGE_ARCH = "${MACHINE_ARCH}"