summaryrefslogtreecommitdiff
path: root/recipes/kexec/kexec-tools-klibc-static_2.0.1.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-09-25 09:03:02 +0200
committerKoen Kooi <koen@openembedded.org>2009-09-25 09:03:02 +0200
commitc03341eb967210fbbd0cc7fd5cbb4fc081317d88 (patch)
tree0755978e74c93d9a2683bcfef0c0557178e37316 /recipes/kexec/kexec-tools-klibc-static_2.0.1.bb
parenta7e6bcb33c381f127107daf8141638dcd4a1d9a8 (diff)
parent0014b9be4e9c0e53be89ff2e799d706ff963213e (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/kexec/kexec-tools-klibc-static_2.0.1.bb')
-rw-r--r--recipes/kexec/kexec-tools-klibc-static_2.0.1.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/kexec/kexec-tools-klibc-static_2.0.1.bb b/recipes/kexec/kexec-tools-klibc-static_2.0.1.bb
new file mode 100644
index 0000000000..d2bc135902
--- /dev/null
+++ b/recipes/kexec/kexec-tools-klibc-static_2.0.1.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-klibc-static kdump-klibc-static"
+
+FILES_kexec-klibc-static = "${sbindir}/kexec"
+FILES_kdump-klibc-static = "${sbindir}/kdump"