diff options
author | Denys Dmytriyenko <denys@ti.com> | 2014-09-16 19:10:01 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-12 15:38:31 +0000 |
commit | 5c23ec681c162636d68b3665cf6aef3af38ab205 (patch) | |
tree | 9c0cb0d9be0ee47ba2430e8605ac71f7acdc1ffe /meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb | |
parent | 2abfdcfd1c2f8d450f482fbf6922c5d2371d0aef (diff) | |
download | poky-5c23ec681c162636d68b3665cf6aef3af38ab205.tar.gz |
u-boot: update to version 2014.07
u-boot doesn't really support building its tools for the target, as they are
built with HOSTCC compiler, which is also used to compile fixdep utility
that gets executed during the build. Since it might be beneficial to have a
target version of mkimage, let's hack it to build fixdep in a separate step.
(From OE-Core rev: a8692184d25cb7d8cb3b617e1dfb901fe1b0ca3d)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb deleted file mode 100644 index d686b33621..0000000000 --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | ||
4 | SECTION = "bootloader" | ||
5 | DEPENDS = "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 | ||
10 | SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c" | ||
11 | |||
12 | PV = "v2013.07+git${SRCPV}" | ||
13 | |||
14 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit uboot-config cross | ||
19 | |||
20 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' | ||
21 | |||
22 | do_compile () { | ||
23 | oe_runmake ${UBOOT_MACHINE} | ||
24 | oe_runmake env | ||
25 | } | ||
26 | |||
27 | do_install () { | ||
28 | install -d ${D}${bindir_cross} | ||
29 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv | ||
30 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv | ||
31 | } | ||
32 | |||
33 | SYSROOT_PREPROCESS_FUNCS = "uboot_fw_utils_cross" | ||
34 | uboot_fw_utils_cross() { | ||
35 | sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} | ||
36 | } | ||
37 | |||
38 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||