summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-mkimage-native_1.3.2.bb
blob: cf135a5231715b9b7c1368f3bd5c8ad3467b8ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "U-boot bootloader mkimage tool"
LICENSE = "GPLv2"
SECTION = "bootloader"

SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
           file://fix-arm920t-eabi.patch;patch=1"

S = "${WORKDIR}/u-boot-${PV}"

inherit native

EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"

do_compile () {
 	oe_runmake smdk2410_config
        oe_runmake tools STRIP='/bin/true'
}

do_stage () {
        install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage
        ln -sf ${STAGING_BINDIR_NATIVE}/uboot-mkimage ${STAGING_BINDIR_NATIVE}/mkimage
}

SRC_URI[md5sum] = "78b1c2722d3907b5fae2cd219dbaf927"
SRC_URI[sha256sum] = "8ab07cd758a1775642629e624f70e376fa8e84a2f879dee4544158d9c90cde2a"