diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2018-12-10 23:39:36 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-12-10 14:51:06 -0800 |
commit | 06dbfb8571fb9449e3340741b1b9294e7b2bd301 (patch) | |
tree | f986f6c58c9d8b1d03ec76d0c5e23417600af762 /meta-initramfs | |
parent | ace39a5ed19b1bf7a1aede034e935f9766a429eb (diff) | |
download | meta-openembedded-06dbfb8571fb9449e3340741b1b9294e7b2bd301.tar.gz |
kexec-tools-klibc: fix build for mipsel and mips64el
Builds with little endianness were not tested before.
Fix for:
purgatory.c:2:10: fatal error: limits.h:
No such file or directory
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index 25f5da48d..cc1c5518b 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | |||
@@ -66,9 +66,12 @@ CFLAGS_x86-64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/i | |||
66 | CFLAGS_arm_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" | 66 | CFLAGS_arm_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" |
67 | CFLAGS_aarch64_append = "${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" | 67 | CFLAGS_aarch64_append = "${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" |
68 | CFLAGS_mips_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" | 68 | CFLAGS_mips_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" |
69 | CFLAGS_mipsel_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" | ||
69 | CFLAGS_mips64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" | 70 | CFLAGS_mips64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" |
71 | CFLAGS_mips64el_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" | ||
70 | CFLAGS_powerpc_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" | 72 | CFLAGS_powerpc_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" |
71 | 73 | ||
74 | |||
72 | do_compile_prepend() { | 75 | do_compile_prepend() { |
73 | # Remove the prepackaged config.h from the source tree as it overrides | 76 | # Remove the prepackaged config.h from the source tree as it overrides |
74 | # the same file generated by configure and placed in the build tree | 77 | # the same file generated by configure and placed in the build tree |