summaryrefslogtreecommitdiff
path: root/recipes/kexec/kexec-tools-klibc-static_2.0.0.bb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-06-21 00:25:46 +0200
committerAndrea Adami <andrea.adami@gmail.com>2009-06-21 00:26:39 +0200
commit0219e9fd2fdb945dcaa6e24c7ce3e07d269d9ecc (patch)
treebebecbf95086b20e49b8c7753a034f375d465d1d /recipes/kexec/kexec-tools-klibc-static_2.0.0.bb
parentcf1b579d5801f6e4b01a927fb3eb7277b4e1579c (diff)
kexec-tools: rename static recipes built against klibc
Diffstat (limited to 'recipes/kexec/kexec-tools-klibc-static_2.0.0.bb')
-rw-r--r--recipes/kexec/kexec-tools-klibc-static_2.0.0.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/kexec/kexec-tools-klibc-static_2.0.0.bb b/recipes/kexec/kexec-tools-klibc-static_2.0.0.bb
new file mode 100644
index 0000000000..da12db185b
--- /dev/null
+++ b/recipes/kexec/kexec-tools-klibc-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-klibc-static kdump-klibc-static"
+
+FILES_kexec-klibc-static = "${sbindir}/kexec"
+FILES_kdump-klibc-static = "${sbindir}/kdump"