diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2011-03-01 12:32:55 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-01 10:01:40 -0800 |
commit | 60e922f1806b9a9e9ba72881a026ae5c33861744 (patch) | |
tree | 42b3e356a83528bfa737dc0e7c61a960a5360757 /meta | |
parent | a8a305a8cac7ea4ea41b4587c55de8137dc389fb (diff) | |
download | poky-60e922f1806b9a9e9ba72881a026ae5c33861744.tar.gz |
u-boot: remove do_install from u-boot.inc
Fixes [BUGID #777]
The do_install rule in u-boot.inc was installing a host
tool into the target ${bindir}, which is subsequently
stripped with target strip during packaging, and the
obvious error ensues.
The native u-boot recipe has its own install rule, and
the machine specific u-boot doesn't require mkimage or
anything else in the do_install function. So we remove
it completely until it is needed again.
[sgw: PR bump]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-bsp/uboot/u-boot.inc | 5 | ||||
-rw-r--r-- | meta/recipes-bsp/uboot/u-boot_git.bb | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc index 1457c042e8..d1cebeedfb 100644 --- a/meta/recipes-bsp/uboot/u-boot.inc +++ b/meta/recipes-bsp/uboot/u-boot.inc | |||
@@ -31,8 +31,3 @@ do_deploy () { | |||
31 | ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} | 31 | ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} |
32 | } | 32 | } |
33 | addtask deploy before do_build after do_compile | 33 | addtask deploy before do_build after do_compile |
34 | |||
35 | do_install() { | ||
36 | install -d ${D}${bindir} | ||
37 | install -m 755 tools/mkimage ${D}${bindir}/ | ||
38 | } | ||
diff --git a/meta/recipes-bsp/uboot/u-boot_git.bb b/meta/recipes-bsp/uboot/u-boot_git.bb index b3207c68b0..4686a5875b 100644 --- a/meta/recipes-bsp/uboot/u-boot_git.bb +++ b/meta/recipes-bsp/uboot/u-boot_git.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ | |||
7 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE}" | 7 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE}" |
8 | 8 | ||
9 | PV = "v2010.12+${PR}+git${SRCPV}" | 9 | PV = "v2010.12+${PR}+git${SRCPV}" |
10 | PR="r0" | 10 | PR="r1" |
11 | 11 | ||
12 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" | 12 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" |
13 | 13 | ||