Patchwork [2/2,v2] mkelfimage: Add stable git build (initial recipe)

login
register
mail settings
Submitter Raymond Danks
Date June 29, 2012, 3:41 p.m.
Message ID <1340984497-32423-2-git-send-email-ray.danks@se-eng.com>
Download mbox | patch
Permalink /patch/30869/
State Accepted
Commit c04136393325967cbd491636b582d3e0f394de16
Headers show

Comments

Raymond Danks - June 29, 2012, 3:41 p.m.
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
---
This was originally submitted to the openembedded project:
http://patches.openembedded.org/patch/7687/

v2:
 Remove depreciated NATIVE_INSTALL_WORKS

 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
Darren Hart - June 29, 2012, 5:47 p.m.
On 06/29/2012 08:41 AM, Raymond Danks wrote:
> Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
> ---
> This was originally submitted to the openembedded project:
> http://patches.openembedded.org/patch/7687/
> 
> v2:
>  Remove depreciated NATIVE_INSTALL_WORKS
> 
>  meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |   17 +++++++++++++++++
>  1 files changed, 17 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
> 
> diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
> new file mode 100644
> index 0000000..1224a63
> --- /dev/null
> +++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
> @@ -0,0 +1,17 @@
> +DESCRIPTION = "A utility to create ELF boot images from Linux kernel images"
> +HOMEPAGE = "http://www.coreboot.org/Mkelfimage"
> +SECTION = "devel"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a"
> +
> +SRCREV = "e13632a939e7dde8d7d44fc73e73a41dae8060c3"
> +PV = "1.0.0+gitr${SRCPV}"
> +PR = "r1"

Minor, but I believe this should be "r0" for the initial creation of a
recipe.
Raymond Danks - June 29, 2012, 8:03 p.m.
On 06/29/2012 11:47 AM, Darren Hart wrote:
>
> On 06/29/2012 08:41 AM, Raymond Danks wrote:
>> Signed-off-by: Raymond Danks<ray.danks@se-eng.com>
>> ---
>> This was originally submitted to the openembedded project:
>> http://patches.openembedded.org/patch/7687/
>>
>> v2:
>>   Remove depreciated NATIVE_INSTALL_WORKS
>>
>>   meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |   17 +++++++++++++++++
>>   1 files changed, 17 insertions(+), 0 deletions(-)
>>   create mode 100644 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
>>
>> diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
>> new file mode 100644
>> index 0000000..1224a63
>> --- /dev/null
>> +++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
>> @@ -0,0 +1,17 @@
>> +DESCRIPTION = "A utility to create ELF boot images from Linux kernel images"
>> +HOMEPAGE = "http://www.coreboot.org/Mkelfimage"
>> +SECTION = "devel"
>> +LICENSE = "GPLv2"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a"
>> +
>> +SRCREV = "e13632a939e7dde8d7d44fc73e73a41dae8060c3"
>> +PV = "1.0.0+gitr${SRCPV}"
>> +PR = "r1"
> Minor, but I believe this should be "r0" for the initial creation of a
> recipe.
>
>
Yeah.  That's debatable.  I did send this to openembedded at one point.  
Yes, this is the first time this is included in openembedded-core, but 
it is different in that the patches that were applied in the previous 
version are already upstreamed to coreboot in this version.

Patch

diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
new file mode 100644
index 0000000..1224a63
--- /dev/null
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
@@ -0,0 +1,17 @@ 
+DESCRIPTION = "A utility to create ELF boot images from Linux kernel images"
+HOMEPAGE = "http://www.coreboot.org/Mkelfimage"
+SECTION = "devel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a"
+
+SRCREV = "e13632a939e7dde8d7d44fc73e73a41dae8060c3"
+PV = "1.0.0+gitr${SRCPV}"
+PR = "r1"
+
+SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/util/mkelfImage"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"