diff options
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb')
-rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb new file mode 100644 index 000000000..b1b6ffca4 --- /dev/null +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | # the binaries are statically linked against klibc | ||
2 | require recipes-kernel/kexec/kexec-tools.inc | ||
3 | SUMMARY = "Kexec tools, statically compiled against klibc" | ||
4 | SRC_URI[md5sum] = "92eff93b097475b7767f8c98df84408a" | ||
5 | SRC_URI[sha256sum] = "09e180ff36dee087182cdc939ba6c6917b6adbb5fc12d589f31fd3659b6471f2" | ||
6 | |||
7 | inherit klibc | ||
8 | |||
9 | FILESPATH =. "${FILE_DIRNAME}/kexec-tools-${PV}:" | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://kexec-elf-rel.patch \ | ||
13 | file://kexec-syscall.patch \ | ||
14 | file://cflags_static.patch \ | ||
15 | file://ifdown_errno.patch \ | ||
16 | file://purgatory_flags.patch \ | ||
17 | file://purgatory_string.patch \ | ||
18 | file://sha256.patch \ | ||
19 | file://sysconf_nrprocessors.patch \ | ||
20 | " | ||
21 | |||
22 | SRC_URI_append_arm = " file://arm_crashdump.patch" | ||
23 | SRC_URI_append_powerpc = " file://ppc__lshrdi3.patch" | ||
24 | SRC_URI_append_x86 = " file://x86_sys_io.patch file://x86_basename.patch file://x86_vfscanf.patch file://x86_kexec_test.patch" | ||
25 | SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch file://x86_vfscanf.patch file://x86_kexec_test.patch" | ||
26 | |||
27 | S = "${WORKDIR}/kexec-tools-${PV}" | ||
28 | |||
29 | EXTRA_OECONF += "--without-zlib --without-lzma --without-xen" | ||
30 | |||
31 | CFLAGS += "-I${STAGING_DIR_HOST}${libdir}/klibc/include -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" | ||
32 | CFLAGS_x86-64 += "-I${STAGING_DIR_HOST}${libdir}/klibc/include -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" | ||
33 | |||
34 | PACKAGES =+ "kexec-klibc kdump-klibc" | ||
35 | |||
36 | FILES_kexec-klibc = "${sbindir}/kexec" | ||
37 | FILES_kdump-klibc = "${sbindir}/kdump" | ||