30 lines
819 B
BlitzBasic
30 lines
819 B
BlitzBasic
DESCRIPTION = "U-boot bootloader mkimage tool"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
|
|
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
|
|
SECTION = "bootloader"
|
|
|
|
PR = "r0"
|
|
|
|
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
|
|
|
|
SRC_URI[md5sum] = "0cc5026aad02f218a9b9ac56b301c97a"
|
|
SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b"
|
|
|
|
S = "${WORKDIR}/u-boot-${PV}"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
|
|
|
|
do_compile () {
|
|
oe_runmake tools
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
|
|
ln -sf uboot-mkimage ${D}${bindir}/mkimage
|
|
}
|
|
|