aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-08-19 23:22:07 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-08-19 23:27:30 +0200
commita3a8cadc1fcf4562f1978b31ba3728b695531ff0 (patch)
treedea0a5613c3f9c2a4fc20ca4db230c44c001af3e /recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb
parent46e7caf1193c7d2935067ba5c0c391be732c1a42 (diff)
downloadopenembedded-a3a8cadc1fcf4562f1978b31ba3728b695531ff0.tar.gz
kexec-tools-klibc-static: rename recipe to kexec-tools-klibc
* avoid conflicts with -static suffix * update package names * bump PR
Diffstat (limited to 'recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb')
-rw-r--r--recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb b/recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb
new file mode 100644
index 0000000000..e73770cf57
--- /dev/null
+++ b/recipes/kexec-tools/kexec-tools-klibc_2.0.2.bb
@@ -0,0 +1,30 @@
+# the binaries are statically linked against klibc
+require kexec-tools_${PV}.inc
+
+PR = "r1"
+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 kdump-klibc"
+
+FILES_kexec-klibc = "${sbindir}/kexec"
+FILES_kdump-klibc = "${sbindir}/kdump"