summaryrefslogtreecommitdiff
path: root/recipes/kexec/kexec-tools-static_2.0.0.bb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-05-15 18:57:11 +0200
committerAndrea Adami <andrea.adami@gmail.com>2009-05-15 19:08:21 +0200
commitba2ce3ddff7692289d74a4017806b57a1681d3c8 (patch)
tree1c7ae857363ca089a59a934792c4f42860599e87 /recipes/kexec/kexec-tools-static_2.0.0.bb
parentec5f45228fa9f7dd9062fb50c889278c4fd273ee (diff)
kexec-tools_2.0.0: initial commit - kexec-tools_2.0.0 compiles just fine - kexec-tools-static_2.0.0 breaks during do_compile (against klibc) - setting DEFAULT_PREFERENCE = "-1"
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"