diff options
Diffstat (limited to 'meta/recipes-devtools/mkelfimage/mkelfimage_git.bb')
-rw-r--r-- | meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | 31 |
1 files changed, 31 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 0000000000..8d232bbb3f --- /dev/null +++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "A utility to create ELF boot images for ELF-based Linux kernel images" | ||
2 | HOMEPAGE = "http://www.coreboot.org/Mkelfimage" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a" | ||
6 | |||
7 | SRCREV = "686a48a339b3200184c27e7f98d4c03180b2be6c" | ||
8 | PV = "4.0+git${SRCPV}" | ||
9 | PR = "r0" | ||
10 | |||
11 | DEPENDS += "zlib" | ||
12 | |||
13 | SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \ | ||
14 | file://cross-compile.patch \ | ||
15 | file://fix-makefile-to-find-libz.patch \ | ||
16 | " | ||
17 | |||
18 | S = "${WORKDIR}/git/util/mkelfImage" | ||
19 | |||
20 | CFLAGS += "-fno-stack-protector" | ||
21 | CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'" | ||
22 | EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" | ||
23 | |||
24 | inherit autotools | ||
25 | |||
26 | do_install_append() { | ||
27 | rmdir ${D}${datadir}/mkelfImage/elf32-i386 | ||
28 | rmdir ${D}${datadir}/mkelfImage | ||
29 | } | ||
30 | |||
31 | BBCLASSEXTEND = "native" | ||