diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb')
-rw-r--r-- | yocto-poky/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/yocto-poky/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb new file mode 100644 index 000000000..2845b8cc3 --- /dev/null +++ b/yocto-poky/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb @@ -0,0 +1,35 @@ +SUMMARY = "Utility for creating ELF boot images for ELF-based Linux kernel images" +HOMEPAGE = "http://www.coreboot.org/Mkelfimage" +SECTION = "devel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a" + +SRCREV = "686a48a339b3200184c27e7f98d4c03180b2be6c" +PV = "4.0+git${SRCPV}" +RECIPE_NO_UPDATE_REASON = "mkelfimage has been removed in coreboot 4.1 release: \ +http://review.coreboot.org/gitweb?p=coreboot.git;a=commit;h=34fc4ab80b507739e2580d490dff67fcfdde11ea" + + +DEPENDS += "zlib" + +SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \ + file://cross-compile.patch \ + file://fix-makefile-to-find-libz.patch \ + " + +CLEANBROKEN = "1" + +S = "${WORKDIR}/git/util/mkelfImage" + +CFLAGS += "-fno-stack-protector" +CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'" +EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" + +inherit autotools-brokensep + +do_install_append() { + rmdir ${D}${datadir}/mkelfImage/elf32-i386 + rmdir ${D}${datadir}/mkelfImage +} + +BBCLASSEXTEND = "native" |