kexec-tools: add static version. partly closes 3739.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Tue, 5 Feb 2008 23:28:12 +0000 (23:28 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Tue, 5 Feb 2008 23:28:12 +0000 (23:28 +0000)
* 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

packages/kexec/files/.mtn2git_empty [moved from packages/kexec/kexec-tools-1.101/.mtn2git_empty with 100% similarity]
packages/kexec/files/kexec-arm-atags.patch [moved from packages/kexec/kexec-tools-1.101/kexec-arm-atags.patch with 100% similarity]
packages/kexec/files/kexec-static.patch [new file with mode: 0644]
packages/kexec/files/kexec-tools-arm.patch [moved from packages/kexec/kexec-tools-1.101/kexec-tools-arm.patch with 100% similarity]
packages/kexec/kexec-tools-static_1.101.bb [new file with mode: 0644]

diff --git a/packages/kexec/files/kexec-static.patch b/packages/kexec/files/kexec-static.patch
new file mode 100644 (file)
index 0000000..5493005
--- /dev/null
@@ -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-static_1.101.bb b/packages/kexec/kexec-tools-static_1.101.bb
new file mode 100644 (file)
index 0000000..ca23917
--- /dev/null
@@ -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"
+