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