]> code.ossystems Code Review - openembedded-core.git/commit
mkelfimage: Fix cross build
authorKhem Raj <raj.khem@gmail.com>
Sat, 14 Jul 2012 21:14:07 +0000 (14:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 09:43:24 +0000 (10:43 +0100)
commit0d828f19f7ef2d852bbe6da4510efea76a39b982
tree3ef39c15d5133a3234294b481c3153345a8d0d7c
parent77278bd23617834c7f90b3b24a9945ec081dbb38
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

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>
meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch [new file with mode: 0644]
meta/recipes-devtools/mkelfimage/mkelfimage_git.bb [deleted file]
meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb [new file with mode: 0644]