summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kexec
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/kexec')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch51
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools.inc15
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb5
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 @@
1kexec-tools: Fix synatx error with recent autoconf+automake
2
3Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
4
5Move it to kexec-tools-2.0.1 directory. Dongxiao Xu <dongxiao.xu@intel.com>
6
7Index: kexec-tools-1.101/configure.ac
8===================================================================
9--- kexec-tools-1.101.orig/configure.ac 2010-02-02 15:14:43.173906722 +0000
10+++ kexec-tools-1.101/configure.ac 2010-02-02 15:15:07.623910565 +0000
11@@ -100,23 +100,23 @@
12 BUILD_CFLAGS='-O2 -Wall $(CPPFLAGS)'
13
14 dnl ---Sanity checks
15-if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]) fi
16-if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]) fi
17-if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]) fi
18-if test "$AS" = "no"; then AC_MSG_ERROR([as not found]) fi
19-if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]) fi
20-if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]) fi
21-
22-if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]) fi
23-if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]) fi
24-if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]) fi
25-if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]) fi
26-if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]) fi
27-if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]) fi
28-if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]) fi
29-if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]) fi
30-if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]) fi
31-if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]) fi
32+if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]); fi
33+if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]); fi
34+if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]); fi
35+if test "$AS" = "no"; then AC_MSG_ERROR([as not found]); fi
36+if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]); fi
37+if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]); fi
38+
39+if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]); fi
40+if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]); fi
41+if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]); fi
42+if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]); fi
43+if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]); fi
44+if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]); fi
45+if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]); fi
46+if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]); fi
47+if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]); fi
48+if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]); fi
49
50 dnl ---Output variables...
51
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 @@
1DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel"
2AUTHOR = "Eric Biederman"
3HOMEPAGE = "http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/"
4SECTION = "kernel/userland"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \
7 file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09"
8DEPENDS = "virtual/kernel zlib"
9
10SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools//kexec-tools-${PV}.tar.gz \
11 file://configurefix.patch;patch=1"
12
13inherit autotools
14
15COMPATIBLE_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 @@
1require kexec-tools.inc
2export LDFLAGS = "-L${STAGING_LIBDIR}"
3EXTRA_OECONF = " --with-zlib=yes"
4
5PR = "r0"