summaryrefslogtreecommitdiff
path: root/recipes/kexec/kexec-tools-static_2.0.0.bb
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-05-16 00:32:43 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-05-16 00:32:43 +0400
commit41a385a587cb693894c966e58b4e88b4dc11023c (patch)
tree529b7168fd92b51f662bd011d596da395ac62a51 /recipes/kexec/kexec-tools-static_2.0.0.bb
parent39836a5818e2e0f1915b053137d60c96c608e82c (diff)
parent16d94b6b28b86657678b78d1f57c666c391c4688 (diff)
Merge branch 'org.openembedded.dev' of git://git.openembedded.org/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/kexec/kexec-tools-static_2.0.0.bb')
-rw-r--r--recipes/kexec/kexec-tools-static_2.0.0.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/kexec/kexec-tools-static_2.0.0.bb b/recipes/kexec/kexec-tools-static_2.0.0.bb
new file mode 100644
index 0000000000..a0d02aa9ac
--- /dev/null
+++ b/recipes/kexec/kexec-tools-static_2.0.0.bb
@@ -0,0 +1,24 @@
+# the binaries are statical linked against klibc
+require kexec-tools2.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+PR = "r0"
+DEPENDS = "klibc"
+
+SRC_URI += "file://kexec2-klibc.patch;patch=1"
+S = "${WORKDIR}/kexec-tools-${PV}"
+
+EXTRA_OECONF = " --without-zlib"
+
+export CC=${TARGET_PREFIX}klcc
+
+# standart oe cflags don't work with klcc
+export CFLAGS=""
+export CPPFLAGS=""
+export LDFLAGS=""
+
+PACKAGES =+ "kexec-static kdump-static"
+
+FILES_kexec-static = "${sbindir}/kexec"
+FILES_kdump-static = "${sbindir}/kdump"