Patchwork [v2] mkelfimage: switch to git repository

login
register
mail settings
Submitter Emilia Ciobanu
Date July 3, 2013, 1:37 p.m.
Message ID <1372858623-16505-1-git-send-email-emilia.maria.silvia.ciobanu@intel.com>
Download mbox | patch
Permalink /patch/52885/
State New
Headers show

Comments

Emilia Ciobanu - July 3, 2013, 1:37 p.m.
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 --------------------
 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
Khem Raj - July 3, 2013, 1:39 p.m.
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

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..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"
+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"