diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-12-21 17:29:15 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-01-04 14:56:22 +0100 |
commit | 0e3749e33f1c3bf920f34b4e5afd0208ff32fec7 (patch) | |
tree | 192c3d006bef69b27ced846ed9dbde58b3aa1224 /meta-oe/recipes-kernel/crash/crash/remove-unrecognized-gcc-option-m32-for-mips.patch | |
parent | 6bdf80f70b54a5904b48e2346505d82e8c635350 (diff) | |
download | meta-openembedded-0e3749e33f1c3bf920f34b4e5afd0208ff32fec7.tar.gz |
crash: 7.1.2 -> 7.1.3
Upgrade crash from 7.1.2 to 7.1.3.
Add gdb source tarball and don't fetch and extract it during do_compile.
And do some format tweaks.
Exclude mips64 from COMPATIBLE_HOST which is not supported. And update
ARCH setting for arm64, ppc64 and mips32.
Add patch to enable parallel make for gdb. And don't write crash.target
which causes rebuild fails.
Backport patches to fix compile failures.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/crash/crash/remove-unrecognized-gcc-option-m32-for-mips.patch')
-rw-r--r-- | meta-oe/recipes-kernel/crash/crash/remove-unrecognized-gcc-option-m32-for-mips.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/crash/crash/remove-unrecognized-gcc-option-m32-for-mips.patch b/meta-oe/recipes-kernel/crash/crash/remove-unrecognized-gcc-option-m32-for-mips.patch new file mode 100644 index 000000000..c24db1042 --- /dev/null +++ b/meta-oe/recipes-kernel/crash/crash/remove-unrecognized-gcc-option-m32-for-mips.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | It fails to build crash for mips with error: | ||
4 | |||
5 | | mips-wrs-linux-gcc: error: unrecognized command line option '-m32' | ||
6 | | Makefile:291: recipe for target 'make_build_data' failed | ||
7 | |||
8 | So remove the unrecognized option '-m32' for mips. | ||
9 | |||
10 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
11 | --- | ||
12 | diff --git a/configure.c b/configure.c | ||
13 | index cf1973b..71e97b3 100644 | ||
14 | --- a/configure.c | ||
15 | +++ b/configure.c | ||
16 | @@ -148,7 +148,7 @@ void add_extra_lib(char *); | ||
17 | #define TARGET_CFLAGS_PPC64_ON_X86_64 "TARGET_CFLAGS=" | ||
18 | #define TARGET_CFLAGS_MIPS "TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64" | ||
19 | #define TARGET_CFLAGS_MIPS_ON_X86 "TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64" | ||
20 | -#define TARGET_CFLAGS_MIPS_ON_X86_64 "TARGET_CFLAGS=-m32 -D_FILE_OFFSET_BITS=64" | ||
21 | +#define TARGET_CFLAGS_MIPS_ON_X86_64 "TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64" | ||
22 | |||
23 | #define GDB_TARGET_DEFAULT "GDB_CONF_FLAGS=" | ||
24 | #define GDB_TARGET_ARM_ON_X86 "GDB_CONF_FLAGS=--target=arm-elf-linux" | ||
25 | @@ -158,7 +158,7 @@ void add_extra_lib(char *); | ||
26 | #define GDB_TARGET_ARM64_ON_X86_64 "GDB_CONF_FLAGS=--target=aarch64-elf-linux" /* TBD */ | ||
27 | #define GDB_TARGET_PPC64_ON_X86_64 "GDB_CONF_FLAGS=--target=powerpc64le-unknown-linux-gnu" | ||
28 | #define GDB_TARGET_MIPS_ON_X86 "GDB_CONF_FLAGS=--target=mipsel-elf-linux" | ||
29 | -#define GDB_TARGET_MIPS_ON_X86_64 "GDB_CONF_FLAGS=--target=mipsel-elf-linux CFLAGS=-m32" | ||
30 | +#define GDB_TARGET_MIPS_ON_X86_64 "GDB_CONF_FLAGS=--target=mipsel-elf-linux" | ||
31 | |||
32 | /* | ||
33 | * The original plan was to allow the use of a particular version | ||