aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb')
-rw-r--r--recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb b/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb
new file mode 100644
index 0000000000..1c2327f82e
--- /dev/null
+++ b/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb
@@ -0,0 +1,22 @@
+# the binaries are statical linked against klibc
+require kexec-tools2.inc
+
+DEFAULT_PREFERENCE = "1"
+
+PR = "r3"
+DEPENDS = "klibc"
+
+SRC_URI += "file://kexec-tools-2-headers.patch;patch=1 \
+ file://kexec-tools-2-klibc.patch;patch=1 \
+ "
+
+S = "${WORKDIR}/kexec-tools-${PV}"
+
+EXTRA_OECONF = " --without-zlib"
+
+export CC=${TARGET_PREFIX}klcc
+
+PACKAGES =+ "kexec-klibc-static kdump-klibc-static"
+
+FILES_kexec-klibc-static = "${sbindir}/kexec"
+FILES_kdump-klibc-static = "${sbindir}/kdump"