summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/kexec/files/.mtn2git_empty (renamed from packages/kexec/kexec-tools-1.101/.mtn2git_empty)0
-rw-r--r--packages/kexec/files/kexec-arm-atags.patch (renamed from packages/kexec/kexec-tools-1.101/kexec-arm-atags.patch)0
-rw-r--r--packages/kexec/files/kexec-static.patch12
-rw-r--r--packages/kexec/files/kexec-tools-arm.patch (renamed from packages/kexec/kexec-tools-1.101/kexec-tools-arm.patch)0
-rw-r--r--packages/kexec/kexec-tools-static_1.101.bb12
5 files changed, 24 insertions, 0 deletions
diff --git a/packages/kexec/kexec-tools-1.101/.mtn2git_empty b/packages/kexec/files/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/kexec/kexec-tools-1.101/.mtn2git_empty
+++ b/packages/kexec/files/.mtn2git_empty
diff --git a/packages/kexec/kexec-tools-1.101/kexec-arm-atags.patch b/packages/kexec/files/kexec-arm-atags.patch
index bf6f640035..bf6f640035 100644
--- a/packages/kexec/kexec-tools-1.101/kexec-arm-atags.patch
+++ b/packages/kexec/files/kexec-arm-atags.patch
diff --git a/packages/kexec/files/kexec-static.patch b/packages/kexec/files/kexec-static.patch
new file mode 100644
index 0000000000..549300576e
--- /dev/null
+++ b/packages/kexec/files/kexec-static.patch
@@ -0,0 +1,12 @@
+diff -ur kexec-tools-1.101.bak/configure.ac kexec-tools-1.101/configure.ac
+--- kexec-tools-1.101.bak/configure.ac 2008-02-03 00:05:59.577094746 +0100
++++ kexec-tools-1.101/configure.ac 2008-02-03 00:06:35.579146386 +0100
+@@ -96,7 +96,7 @@
+
+ dnl ---Hard codes
+
+-CFLAGS='-Wall -g -fno-strict-aliasing $(CPPFLAGS)'
++CFLAGS='-Wall -g -static -fno-strict-aliasing $(CPPFLAGS)'
+ BUILD_CFLAGS='-O2 -Wall $(CPPFLAGS)'
+
+ dnl ---Sanity checks
diff --git a/packages/kexec/kexec-tools-1.101/kexec-tools-arm.patch b/packages/kexec/files/kexec-tools-arm.patch
index 6e43b76096..6e43b76096 100644
--- a/packages/kexec/kexec-tools-1.101/kexec-tools-arm.patch
+++ b/packages/kexec/files/kexec-tools-arm.patch
diff --git a/packages/kexec/kexec-tools-static_1.101.bb b/packages/kexec/kexec-tools-static_1.101.bb
new file mode 100644
index 0000000000..ca23917a11
--- /dev/null
+++ b/packages/kexec/kexec-tools-static_1.101.bb
@@ -0,0 +1,12 @@
+require kexec-tools.inc
+
+PR = "r0"
+
+SRC_URI += "file://kexec-static.patch;patch=1"
+S = "${WORKDIR}/kexec-tools-${PV}"
+
+PACKAGES =+ "kexec-static kdump-static"
+
+FILES_kexec-static = "${sbindir}/kexec"
+FILES_kdump-static = "${sbindir}/kdump"
+