summaryrefslogtreecommitdiff
path: root/packages/kexec
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-02-05 23:28:12 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-02-05 23:28:12 +0000
commit5fcb08b919068b402022c7601ae05cee58b50c09 (patch)
tree4b62a746449c3c2c577a913f44fff70d0557b08a /packages/kexec
parentb21b83328bffe4e832a073c1458c32503f3a7900 (diff)
kexec-tools: add static version. partly closes 3739.
* rename packages/kexec/kexec-tools-1.101 to packages/kexec/files so that patches can be shared * add packages/kexec/files/kexec-static.patch and packages/kexec/kexec-tools-static_1.101.bb
Diffstat (limited to 'packages/kexec')
-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"
+