blob: e1c33a631be4ec2bfba0d992f55816d635368a31 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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}"
9RECIPE_NO_UPDATE_REASON = "mkelfimage has been removed in coreboot 4.1 release: \
10http://review.coreboot.org/gitweb?p=coreboot.git;a=commit;h=34fc4ab80b507739e2580d490dff67fcfdde11ea"
11
12
13DEPENDS += "zlib"
14
15SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \
16 file://cross-compile.patch \
17 file://fix-makefile-to-find-libz.patch \
18 "
19
20CLEANBROKEN = "1"
21
22S = "${WORKDIR}/git/util/mkelfImage"
23
24CFLAGS += "-fno-stack-protector"
25CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'"
26EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
27
28inherit autotools-brokensep
29
30do_install_append() {
31 rmdir ${D}${datadir}/mkelfImage/elf32-i386
32 rmdir ${D}${datadir}/mkelfImage
Patrick Williamsd7e96312015-09-22 08:09:05 -050033 chown root:root ${D}/${sbindir}/mkelfImage
Patrick Williamsc124f4f2015-09-15 14:41:29 -050034}
35
36BBCLASSEXTEND = "native"