summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/mkelfimage/mkelfimage_git.bb')
-rw-r--r--meta/recipes-devtools/mkelfimage/mkelfimage_git.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
new file mode 100644
index 0000000..bcf68a8
--- /dev/null
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
@@ -0,0 +1,30 @@
1SUMMARY = "Utility for creating ELF boot images for ELF-based Linux kernel images"
2HOMEPAGE = "http://www.coreboot.org/Mkelfimage"
3SECTION = "devel"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a"
6
7SRCREV = "686a48a339b3200184c27e7f98d4c03180b2be6c"
8PV = "4.0+git${SRCPV}"
9
10DEPENDS += "zlib"
11
12SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \
13 file://cross-compile.patch \
14 file://fix-makefile-to-find-libz.patch \
15 "
16
17S = "${WORKDIR}/git/util/mkelfImage"
18
19CFLAGS += "-fno-stack-protector"
20CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'"
21EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
22
23inherit autotools-brokensep
24
25do_install_append() {
26 rmdir ${D}${datadir}/mkelfImage/elf32-i386
27 rmdir ${D}${datadir}/mkelfImage
28}
29
30BBCLASSEXTEND = "native"