diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2013-05-13 01:22:23 +0200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-05-13 09:50:24 +0100 |
commit | 97957e5cee9a797d3e05c1a8848338a033f40770 (patch) | |
tree | 59351568b51e711b80ca3fff348e61d9079eaf01 /meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb | |
parent | 06318f320803814ac7f2827473a8e46a8eb0d8cb (diff) | |
download | meta-openembedded-97957e5cee9a797d3e05c1a8848338a033f40770.tar.gz |
kexec-tools-klibc_2.0.2: refactor and extend patches for building
* some old patches apparently unneeded have been removed
* patches are now better split
* fix build for x86 and x86-64
* tested with qemuarm, qemuppc, qemumips, qemux86, qemux86-64
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
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 | 28 |
1 files changed, 19 insertions, 9 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 index 90b876cdd..eedcaa557 100644 --- 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 | |||
@@ -7,20 +7,30 @@ inherit klibc | |||
7 | 7 | ||
8 | FILESPATH =. "${FILE_DIRNAME}/kexec-tools-${PV}:" | 8 | FILESPATH =. "${FILE_DIRNAME}/kexec-tools-${PV}:" |
9 | 9 | ||
10 | SRC_URI += "file://elf.patch \ | 10 | SRC_URI += " \ |
11 | file://errno.patch \ | 11 | file://kexec-elf-rel.patch \ |
12 | file://string.patch \ | 12 | file://kexec-syscall.patch \ |
13 | file://syscall.patch \ | 13 | file://cflags_static.patch \ |
14 | file://other.patch \ | 14 | file://ifdown_errno.patch \ |
15 | " | 15 | file://purgatory_flags.patch \ |
16 | file://purgatory_string.patch \ | ||
17 | file://sha256.patch \ | ||
18 | file://sysconf_nrprocessors.patch \ | ||
19 | " | ||
20 | |||
21 | SRC_URI_append_arm = " file://arm_crashdump.patch" | ||
22 | SRC_URI_append_powerpc = " file://ppc__lshrdi3.patch" | ||
23 | SRC_URI_append_x86 = " file://x86_sys_io.patch file://x86_basename.patch file://x86_vfscanf.patch file://x86_kexec_test.patch" | ||
24 | SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch file://x86_vfscanf.patch file://x86_kexec_test.patch" | ||
16 | 25 | ||
17 | S = "${WORKDIR}/kexec-tools-${PV}" | 26 | S = "${WORKDIR}/kexec-tools-${PV}" |
18 | 27 | ||
19 | EXTRA_OECONF += "--without-zlib" | 28 | EXTRA_OECONF += "--without-zlib --without-lzma --without-xen" |
20 | |||
21 | PACKAGES =+ "kexec-klibc kdump-klibc" | ||
22 | 29 | ||
23 | CFLAGS += "-I${STAGING_DIR_HOST}${base_libdir}/klibc/include -I${STAGING_DIR_HOST}${base_libdir}/klibc/include/bits32" | 30 | CFLAGS += "-I${STAGING_DIR_HOST}${base_libdir}/klibc/include -I${STAGING_DIR_HOST}${base_libdir}/klibc/include/bits32" |
31 | CFLAGS_x86-64 += "-I${STAGING_DIR_HOST}${base_libdir}/klibc/include -I${STAGING_DIR_HOST}${base_libdir}/klibc/include/bits64" | ||
32 | |||
33 | PACKAGES =+ "kexec-klibc kdump-klibc" | ||
24 | 34 | ||
25 | FILES_kexec-klibc = "${sbindir}/kexec" | 35 | FILES_kexec-klibc = "${sbindir}/kexec" |
26 | FILES_kdump-klibc = "${sbindir}/kdump" | 36 | FILES_kdump-klibc = "${sbindir}/kdump" |