diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/mkelfimage/mkelfimage_git.bb')
-rw-r--r-- | meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | 30 |
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 0000000000..bcf68a8e37 --- /dev/null +++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | |||
@@ -0,0 +1,30 @@ | |||
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 | |||
10 | DEPENDS += "zlib" | ||
11 | |||
12 | SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \ | ||
13 | file://cross-compile.patch \ | ||
14 | file://fix-makefile-to-find-libz.patch \ | ||
15 | " | ||
16 | |||
17 | S = "${WORKDIR}/git/util/mkelfImage" | ||
18 | |||
19 | CFLAGS += "-fno-stack-protector" | ||
20 | CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'" | ||
21 | EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" | ||
22 | |||
23 | inherit autotools-brokensep | ||
24 | |||
25 | do_install_append() { | ||
26 | rmdir ${D}${datadir}/mkelfImage/elf32-i386 | ||
27 | rmdir ${D}${datadir}/mkelfImage | ||
28 | } | ||
29 | |||
30 | BBCLASSEXTEND = "native" | ||