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:54:02 +0000 (10:54 +0100)
commit1413f56a67d89d4f33652b22f0222208bfe19827
treeb993a31940e8918ded8133ae5259ec77d2e5c51b
parent4227e3088abddf9112f5ec9dfaed676a7c05b7c9
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>
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]