From: Khem Raj Date: Tue, 25 Aug 2020 22:18:09 +0000 (-0700) Subject: kexec-tools: Fix build with -fno-common on ppc X-Git-Tag: 2020-10-gatesgarth~383 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=95fd778e3f319f18ed0061f78633d6957227961f;p=openembedded-core.git kexec-tools: Fix build with -fno-common on ppc Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- 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 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 *); +