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:04:04 +0100 |
commit | 1955ba23f1d8096191d16adcacefb7d417caeb2a (patch) | |
tree | efaeed550f9a62816fd0dd351f00261dc3f3e712 | |
parent | 604c0404c2a19b53540a3a8ce5161ac0142309b3 (diff) | |
download | poky-1955ba23f1d8096191d16adcacefb7d417caeb2a.tar.gz |
kexec-tools: Fix build with -fno-common on ppc
(From OE-Core rev: 95fd778e3f319f18ed0061f78633d6957227961f)
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.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 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> | |||
66 | 66 | ||
67 | int bzImage64_probe(const char *buf, off_t len) | 67 | int bzImage64_probe(const char *buf, off_t len) |
68 | { | 68 | { |
69 | --- a/kexec/arch/ppc/kexec-elf-ppc.c | ||
70 | +++ b/kexec/arch/ppc/kexec-elf-ppc.c | ||
71 | @@ -33,7 +33,6 @@ | ||
72 | static const int probe_debug = 0; | ||
73 | |||
74 | unsigned char reuse_initrd; | ||
75 | -const char *ramdisk; | ||
76 | int create_flatten_tree(struct kexec_info *, unsigned char **, unsigned long *, | ||
77 | char *); | ||
78 | |||