summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-25 15:18:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-26 09:03:59 +0100
commit95fd778e3f319f18ed0061f78633d6957227961f (patch)
treed942b1e8c9a95c6be67be81313399ac7695fd415
parenta17088b0109fa549cd335dca4265314e66d2901b (diff)
downloadopenembedded-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>
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools/0001-kexec-Fix-build-with-fno-common.patch10
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 a3ba0912d4..31f4d00b53 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 *);
+