All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
To: <yocto@yoctoproject.org>, <Adrian.Dudau@enea.com>,
	<Alexandru.Vaduva@enea.com>, <Alexandra.Safta@enea.com>
Cc: Siva Borra <siva.borra@enea.com>, linux@list.enea.se, issues@enea.com
Subject: [LXCR-4977 PATCH 1/1] Add makedumpfile recipe to cgl.
Date: Tue, 23 Jun 2015 16:00:02 +0200	[thread overview]
Message-ID: <1435053560-6941-2-git-send-email-siva.borra@enea.com> (raw)
In-Reply-To: <1435053560-6941-1-git-send-email-siva.borra@enea.com>

From: Siva Borra <siva.borra@enea.com>

Add the makedumpfile package recipe to
the cgl layer.

[LXCR-4977]


Signed-off-by: Siva Borra <siva.borra@enea.com>
---
 .../makedumpfile/files/alias-powerpc-powerpc32.patch | 13 +++++++++++++
 .../recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb   | 20 ++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
 create mode 100644 meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb

diff --git a/meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch b/meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
new file mode 100644
index 0000000..70ad663
--- /dev/null
+++ b/meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
@@ -0,0 +1,13 @@
+diff -rupN makedumpfile-1.5.8/Makefile makedumpfile-1.5.8/Makefile
+--- makedumpfile-1.5.8/Makefile	2015-03-24 02:58:33.000000000 +0100
++++ makedumpfile-1.5.8/Makefile	2015-06-23 11:08:30.595655336 +0200
+@@ -25,7 +25,8 @@ endif
+ ARCH := $(shell echo ${TARGET}  | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
+ 			       -e s/arm.*/arm/ -e s/sa110/arm/ \
+ 			       -e s/s390x/s390/ -e s/parisc64/parisc/ \
+-			       -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/)
++			       -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/ \
++			       -e s/powerpc/powerpc32/)
+ 
+ CROSS :=
+ ifneq ($(TARGET), $(HOST_ARCH))
diff --git a/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb b/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
new file mode 100644
index 0000000..6c32306
--- /dev/null
+++ b/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Make dump file utility"
+LICENSE = "GPLv2"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "http://sourceforge.net/projects/makedumpfile/files/makedumpfile/1.5.8/makedumpfile-${PV}.tar.gz;name=makedumpfile \
+	   file://alias-powerpc-powerpc32.patch \
+	   "
+
+SRC_URI[makedumpfile.md5sum] = "642d975349dff744c6027d4486499258"
+SRC_URI[makedumpfile.sha256sum] = "dd9c6c40c1ae6774b61bbe7b53f5ebbee9734f576d8ecb75ffb929288f5ea64d"
+
+DEPENDS = "zlib elfutils bzip2"
+
+EXTRA_OEMAKE = "TARGET=${TARGET_ARCH}"
+
+do_install() {
+	install -d ${D}${bindir}/
+	install -c -m 755 ${S}/makedumpfile ${D}${bindir}/
+}
-- 
1.9.1



       reply	other threads:[~2015-06-23 14:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1435053560-6941-1-git-send-email-siva.borra@enea.com>
2015-06-23 14:00 ` Alexandru.Vaduva [this message]
2015-06-24  7:33   ` [LXCR-4977 PATCH 1/1] Add makedumpfile recipe to cgl Gaurang Shastri
2015-06-24 12:07     ` Alexandru Vaduva

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=1435053560-6941-2-git-send-email-siva.borra@enea.com \
    --to=alexandru.vaduva@enea.com \
    --cc=Adrian.Dudau@enea.com \
    --cc=Alexandra.Safta@enea.com \
    --cc=issues@enea.com \
    --cc=linux@list.enea.se \
    --cc=siva.borra@enea.com \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.