summaryrefslogtreecommitdiff
path: root/recipes/kexec-tools/kexec-tools-klibc-static_2.0.2.bb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-08-02 01:48:54 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-08-02 01:48:54 +0200
commit93e2f314df0434df3e1f3ae537129b9f7ee3e5de (patch)
treec936ee7e4834ea7bd134ac927f69466610a70087 /recipes/kexec-tools/kexec-tools-klibc-static_2.0.2.bb
parentaa9c0c455fd36214f4b82cb1bd0e620e632389b0 (diff)
kexec-tools: move to 2.0.2 and remove older versions
* binary for klibc static only tested on arm * updated dietlibc version (not tested, dietlibc seems broken today...)
Diffstat (limited to 'recipes/kexec-tools/kexec-tools-klibc-static_2.0.2.bb')
-rw-r--r--recipes/kexec-tools/kexec-tools-klibc-static_2.0.2.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/kexec-tools/kexec-tools-klibc-static_2.0.2.bb b/recipes/kexec-tools/kexec-tools-klibc-static_2.0.2.bb
new file mode 100644
index 0000000000..963548fe5f
--- /dev/null
+++ b/recipes/kexec-tools/kexec-tools-klibc-static_2.0.2.bb
@@ -0,0 +1,30 @@
+# the binaries are statically linked against klibc
+require kexec-tools_${PV}.inc
+
+PR = "r0"
+DEPENDS = "klibc"
+
+FILESPATHPKG =. "kexec-tools-${PV}:"
+
+SRC_URI += "file://headers.patch \
+ file://elf.patch \
+ file://errno.patch \
+ file://string.patch \
+ file://syscall.patch \
+ file://other.patch \
+ "
+
+S = "${WORKDIR}/kexec-tools-${PV}"
+
+EXTRA_OECONF = " --without-zlib"
+export CC=${TARGET_PREFIX}klcc
+
+# reset inherited OE flags to avoid e.g. ggdb3 and keep size small
+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"