Kumar Gala : kexec-tools: Add a git recipe
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 61 lines · git version control
Module: openembedded.git Branch: master Commit: ace025266169c8fbeac35fc6eb4ac67768f13df3 URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ace025266169c8fbeac35fc6eb4ac67768f13df3Author: Kumar Gala <[email protected]> Date: Mon Apr 18 12:48:34 2011 -0500kexec-tools: Add a git recipe
(Initially from Kumar, further updated by Tom)
Add a recipe to build kexec-tools from git. While we're at it, make a new kexec-tools.inc for the very common bits and use that all around as well as switch toINC_PR.Signed-off-by Kumar Gala <[email protected]>Signed-off-by Tom Rini <[email protected]>---
recipes/kexec-tools/kexec-tools-dietlibc_2.0.2.bb | 2 +- recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb | 2 +- recipes/kexec-tools/kexec-tools.inc | 9 +++++++++ recipes/kexec-tools/kexec-tools_2.0.2.bb | 2 +- recipes/kexec-tools/kexec-tools_2.0.2.inc | 9 +-------- recipes/kexec-tools/kexec-tools_git.bb | 11 +++++++++++ recipes/kexec-tools/kexec-tools_git.inc | 10 ++++++++++ 7 files changed, 34 insertions(+), 11 deletions(-)recipes/kexec-tools/kexec-tools-dietlibc_2.0.2.bb +1
-1@@ -1,7 +1,7 @@ # the binaries are statically linked against dietlibc require kexec-tools_${PV}.inc -PR = "r0" +PR = "${INC_PR}.0" inherit dietlibc FILESPATHPKG =. "kexec-tools-${PV}:"recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb +1
-1@@ -1,7 +1,7 @@ # the binaries are statically linked against klibc require kexec-tools_${PV}.inc -PR = "r3" +PR = "${INC_PR}.0" inherit klibc FILESPATHPKG =. "kexec-tools-${PV}:"recipes/kexec-tools/kexec-tools.inc new file +0
-0
recipes/kexec-tools/kexec-tools.inc line 7
Quoted 7 lines
recipes/kexec-tools/kexec-tools.inc new file +7
-0@@ -0,0 +1,9 @@ +DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel" +AUTHOR = "Eric Biederman" +HOMEPAGE = "http://www.xmission.com/~ebiederm/files/kexec/" +SECTION = "kernel/userland" +LICENSE = "GPL" +DEPENDS = "virtual/kernel zlib" +PR = "r4"
Where is INC_PR defined? I guess this should be INC_PR not PR..
Quoted 70 lines
recipes/kexec-tools/kexec-tools.inc new file +2
-0+ +inherit autotoolsrecipes/kexec-tools/kexec-tools_2.0.2.bb +1
-1@@ -1,6 +1,6 @@ require kexec-tools_${PV}.inc -PR = "r1" +PR = "${INC_PR}.0" EXTRA_OECONF = " --with-zlib=yes" export LDFLAGS = "-L${STAGING_LIBDIR}"recipes/kexec-tools/kexec-tools_2.0.2.inc +1
-8@@ -1,11 +1,4 @@ -DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel" -AUTHOR = "Eric Biederman" -HOMEPAGE = "http://www.xmission.com/~ebiederm/files/kexec/" -SECTION = "kernel/userland" -LICENSE = "GPL" -DEPENDS = "virtual/kernel zlib" - -inherit autotools +require kexec-tools.inc SRC_URI = "http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz"recipes/kexec-tools/kexec-tools_git.bb new file +11
-0@@ -0,0 +1,11 @@ +require kexec-tools_git.inc + +PR = "${INC_PR}.0" + +EXTRA_OECONF = " --with-zlib=yes" +export LDFLAGS = "-L${STAGING_LIBDIR}" + +PACKAGES =+ "kexec kdump" + +FILES_kexec = "${sbindir}/kexec" +FILES_kdump = "${sbindir}/kdump"recipes/kexec-tools/kexec-tools_git.inc new file +10
-0@@ -0,0 +1,10 @@ +require kexec-tools.inc + +SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git" +SRCREV = "e3bb6ccd50e483d06bfeaca24c9107c31f1cf5d7" + +PV = "2.0.2+${PR}+gitr${SRCREV}" + +DEFAULT_PREFERENCE = "-1" + +S = "${WORKDIR}/git"_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]