summaryrefslogtreecommitdiff
path: root/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-12-15 00:04:02 +0100
committerAndrea Adami <andrea.adami@gmail.com>2009-12-15 00:11:25 +0100
commit3e031192d7a4128892c8ee7442e6abc1d1841426 (patch)
tree247292bf73e098c9fb96f9fc67f68995d29eadef /recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
parent4f0df4d7ebfb16eace5986e117af3cdde43185a7 (diff)
kexec: rename to kexec-tools (kexec and kdump)
Diffstat (limited to 'recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb')
-rw-r--r--recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb b/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
new file mode 100644
index 0000000000..5d131d839e
--- /dev/null
+++ b/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
@@ -0,0 +1,24 @@
+# the binaries are statical linked against klibc
+require kexec-tools.inc
+
+PR = "r6"
+DEPENDS = "klibc"
+
+SRC_URI += "file://kexec-static.patch;patch=1 \
+ file://kexec-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"