1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

mkelfimage: Fix cross build

This patch fixes building this tool in cross environment
It uses tools such as CC, HOST_CC, I386_CC etc.
and as long as you are building native it does not
matter since they all are same namely 'gcc' but
in cross compiling that wont work. So we make the
makefiles and configure scripts aware of that fact

Upstream hosts this program in a svn repo. So change
the SRC_URI to official svn repo. With git we were
checking out a lot more that just mkelfimage which
is not required.

There were unpackaged empty directories too so
we make sure they are removed as well.

Fixes Yocto bug# 2765

(From OE-Core rev: 0d828f19f7ef2d852bbe6da4510efea76a39b982)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2012-07-14 14:14:07 -07:00
committed by Richard Purdie
parent 0a925c9dcf
commit 85e5f2d8ac
3 changed files with 101 additions and 17 deletions
@@ -1,17 +0,0 @@
DESCRIPTION = "A utility to create ELF boot images from Linux kernel images"
HOMEPAGE = "http://www.coreboot.org/Mkelfimage"
SECTION = "devel"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a"
SRCREV = "e1e6a91ce0738400fa1615179de88ebc0df29f66"
PV = "1.0.0+gitr${SRCPV}"
PR = "r1"
SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http;branch=master"
S = "${WORKDIR}/git/util/mkelfImage"
inherit autotools
BBCLASSEXTEND = "native"