diff options
Diffstat (limited to 'meta/recipes-kernel/kexec')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch | 51 | ||||
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools.inc | 15 | ||||
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb | 5 |
3 files changed, 71 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch b/meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch new file mode 100644 index 0000000000..1f0b507731 --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch @@ -0,0 +1,51 @@ +kexec-tools: Fix synatx error with recent autoconf+automake + +Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> + +Move it to kexec-tools-2.0.1 directory. Dongxiao Xu <dongxiao.xu@intel.com> + +Index: kexec-tools-1.101/configure.ac +=================================================================== +--- kexec-tools-1.101.orig/configure.ac 2010-02-02 15:14:43.173906722 +0000 ++++ kexec-tools-1.101/configure.ac 2010-02-02 15:15:07.623910565 +0000 +@@ -100,23 +100,23 @@ + BUILD_CFLAGS='-O2 -Wall $(CPPFLAGS)' + + dnl ---Sanity checks +-if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]) fi +-if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]) fi +-if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]) fi +-if test "$AS" = "no"; then AC_MSG_ERROR([as not found]) fi +-if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]) fi +-if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]) fi +- +-if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]) fi +-if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]) fi +-if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]) fi +-if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]) fi +-if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]) fi +-if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]) fi +-if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]) fi +-if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]) fi +-if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]) fi +-if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]) fi ++if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]); fi ++if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]); fi ++if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]); fi ++if test "$AS" = "no"; then AC_MSG_ERROR([as not found]); fi ++if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]); fi ++if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]); fi ++ ++if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]); fi ++if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]); fi ++if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]); fi ++if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]); fi ++if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]); fi ++if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]); fi ++if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]); fi ++if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]); fi ++if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]); fi ++if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]); fi + + dnl ---Output variables... + diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc new file mode 100644 index 0000000000..55ab906a9d --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel" +AUTHOR = "Eric Biederman" +HOMEPAGE = "http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/" +SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \ + file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09" +DEPENDS = "virtual/kernel zlib" + +SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools//kexec-tools-${PV}.tar.gz \ + file://configurefix.patch;patch=1" + +inherit autotools + +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*)-(linux|freebsd.*)' diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb new file mode 100644 index 0000000000..758d3ec9fd --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb @@ -0,0 +1,5 @@ +require kexec-tools.inc +export LDFLAGS = "-L${STAGING_LIBDIR}" +EXTRA_OECONF = " --with-zlib=yes" + +PR = "r0" |