diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-25 15:18:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-26 09:03:59 +0100 |
commit | 95fd778e3f319f18ed0061f78633d6957227961f (patch) | |
tree | d942b1e8c9a95c6be67be81313399ac7695fd415 /meta/recipes-kernel/kexec | |
parent | a17088b0109fa549cd335dca4265314e66d2901b (diff) | |
download | openembedded-core-contrib-95fd778e3f319f18ed0061f78633d6957227961f.tar.gz |
kexec-tools: Fix build with -fno-common on ppc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kexec')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/0001-kexec-Fix-build-with-fno-common.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/0001-kexec-Fix-build-with-fno-common.patch b/meta/recipes-kernel/kexec/kexec-tools/0001-kexec-Fix-build-with-fno-common.patch index a3ba0912d46..31f4d00b535 100644 --- a/meta/recipes-kernel/kexec/kexec-tools/0001-kexec-Fix-build-with-fno-common.patch +++ b/meta/recipes-kernel/kexec/kexec-tools/0001-kexec-Fix-build-with-fno-common.patch @@ -66,3 +66,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> int bzImage64_probe(const char *buf, off_t len) { +--- a/kexec/arch/ppc/kexec-elf-ppc.c ++++ b/kexec/arch/ppc/kexec-elf-ppc.c +@@ -33,7 +33,6 @@ + static const int probe_debug = 0; + + unsigned char reuse_initrd; +-const char *ramdisk; + int create_flatten_tree(struct kexec_info *, unsigned char **, unsigned long *, + char *); + |