diff options
Diffstat (limited to 'meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb')
| -rw-r--r-- | meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb new file mode 100644 index 0000000000..c670f23e25 --- /dev/null +++ b/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | DESCRIPTION = "A utility to create ELF boot images from 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 = "6637" | ||
| 8 | PV = "1.0.0+svn${SRCPV}" | ||
| 9 | PR = "r1" | ||
| 10 | |||
| 11 | DEPENDS += "zlib" | ||
| 12 | |||
| 13 | SRC_URI = "svn://coreboot.org/coreboot/trunk/util;module=mkelfImage \ | ||
| 14 | file://cross-compile.patch \ | ||
| 15 | " | ||
| 16 | |||
| 17 | S = "${WORKDIR}/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 | ||
| 24 | |||
| 25 | do_install_append() { | ||
| 26 | rmdir ${D}${datadir}/mkelfImage/elf32-i386 | ||
| 27 | rmdir ${D}${datadir}/mkelfImage | ||
| 28 | } | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native" | ||
