Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] mkelfimage: switch to git repository
Date: Wed, 3 Jul 2013 06:39:12 -0700	[thread overview]
Message-ID: <54ED6376-29DF-4931-B7A2-D298FE643BAC@gmail.com> (raw)
In-Reply-To: <1372858623-16505-1-git-send-email-emilia.maria.silvia.ciobanu@intel.com>


On Jul 3, 2013, at 6:37 AM, Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com> wrote:

> The project has switched to using git for version control.
> 
> Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
> ---
> meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |   31 ++++++++++++++++++++
> meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb |   31 --------------------

git format-patch -M would try to detect renaming and diff could be better.

> 2 files changed, 31 insertions(+), 31 deletions(-)
> create mode 100644 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
> delete mode 100644 meta/recipes-devtools/mkelfimage/mkelfimage_svn.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..b81ce2f
> --- /dev/null
> +++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
> @@ -0,0 +1,31 @@
> +DESCRIPTION = "A utility to create ELF boot images from Linux kernel images"

some of linux kernel images like vmlinux are ELF images too they may not be bootable. Does this create
ELF bootable images from non-ELF images e.g. bzImage ?

> +HOMEPAGE = "http://www.coreboot.org/Mkelfimage"
> +SECTION = "devel"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a"
> +
> +SRCREV = "686a48a339b3200184c27e7f98d4c03180b2be6c"
> +PV = "4.0+git${SRCPV}"
> +PR = "r0"
> +
> +DEPENDS += "zlib"
> +
> +SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \
> +           file://cross-compile.patch   \
> +           file://fix-makefile-to-find-libz.patch   \
> +          "
> +
> +S = "${WORKDIR}/git/util/mkelfImage"
> +
> +CFLAGS += "-fno-stack-protector"
> +CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'"
> +EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
> +
> +inherit autotools
> +
> +do_install_append() {
> +	rmdir ${D}${datadir}/mkelfImage/elf32-i386
> +	rmdir ${D}${datadir}/mkelfImage
> +}
> +
> +BBCLASSEXTEND = "native"
> diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb
> deleted file mode 100644
> index b53f7a7..0000000
> --- a/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -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 = "6637"
> -PV = "1.0.0+svn${SRCPV}"
> -PR = "r2"
> -
> -DEPENDS += "zlib"
> -
> -SRC_URI = "svn://coreboot.org/coreboot/trunk/util;module=mkelfImage;protocol=svn \
> -           file://cross-compile.patch \
> -           file://fix-makefile-to-find-libz.patch \
> -          "
> -
> -S = "${WORKDIR}/mkelfImage"
> -
> -CFLAGS += "-fno-stack-protector"
> -CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'"
> -EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
> -
> -inherit autotools
> -
> -do_install_append() {
> -	rmdir ${D}${datadir}/mkelfImage/elf32-i386
> -	rmdir ${D}${datadir}/mkelfImage
> -}
> -
> -BBCLASSEXTEND = "native"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



      reply	other threads:[~2013-07-03 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 13:37 [PATCH v2] mkelfimage: switch to git repository Emilia Ciobanu
2013-07-03 13:39 ` Khem Raj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54ED6376-29DF-4931-B7A2-D298FE643BAC@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=emilia.maria.silvia.ciobanu@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox