aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-02-18 17:18:09 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-02-18 17:18:09 +0000
commit71fcf4837833b16eb33e8519381c1100d74b1d2a (patch)
treee7704eef5ed35d321129a5bf268389a271ec3588
parent7a478441e9fd91fa388e3a0be79e304935f35e66 (diff)
downloadopenembedded-71fcf4837833b16eb33e8519381c1100d74b1d2a.tar.gz
applied changes from af267d79107d9258fec25067e3ac6765f2ba9cc6
through f5ac91666271607b6fb0d8186495c57e9a4c5b01 kexec-tools: add static version. partly closes 3739. (PaulS, Koen)
-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"
+