diff options
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/kexec-elf-rel.patch')
| -rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/kexec-elf-rel.patch | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/kexec-elf-rel.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/kexec-elf-rel.patch new file mode 100644 index 0000000000..c666afcac6 --- /dev/null +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/kexec-elf-rel.patch | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | --- a/kexec/kexec-elf-rel.c | ||
| 2 | +++ b/kexec/kexec-elf-rel.c | ||
| 3 | @@ -4,7 +4,7 @@ | ||
| 4 | #include <stdio.h> | ||
| 5 | #include <errno.h> | ||
| 6 | #include <stdlib.h> | ||
| 7 | -#include "elf.h" | ||
| 8 | +#include "../include/elf.h" | ||
| 9 | #include <boot/elf_boot.h> | ||
| 10 | #include "kexec.h" | ||
| 11 | #include "kexec-elf.h" | ||
| 12 | |||
| 13 | --- a/kexec/arch/arm/kexec-elf-rel-arm.c | ||
| 14 | +++ b/kexec/arch/arm/kexec-elf-rel-arm.c | ||
| 15 | @@ -1,5 +1,5 @@ | ||
| 16 | #include <stdio.h> | ||
| 17 | -#include <elf.h> | ||
| 18 | +#include "../../../include/elf.h" | ||
| 19 | #include "../../kexec.h" | ||
| 20 | #include "../../kexec-elf.h" | ||
| 21 | |||
| 22 | |||
| 23 | --- a/kexec/arch/i386/kexec-elf-rel-x86.c | ||
| 24 | +++ b/kexec/arch/i386/kexec-elf-rel-x86.c | ||
| 25 | @@ -1,5 +1,5 @@ | ||
| 26 | #include <stdio.h> | ||
| 27 | -#include <elf.h> | ||
| 28 | +#include "../../../include/elf.h" | ||
| 29 | #include "../../kexec.h" | ||
| 30 | #include "../../kexec-elf.h" | ||
| 31 | |||
| 32 | |||
| 33 | --- a/kexec/arch/ppc/kexec-elf-rel-ppc.c | ||
| 34 | +++ b/kexec/arch/ppc/kexec-elf-rel-ppc.c | ||
| 35 | @@ -1,5 +1,5 @@ | ||
| 36 | #include <stdio.h> | ||
| 37 | -#include <elf.h> | ||
| 38 | +#include "../../../include/elf.h" | ||
| 39 | #include "../../kexec.h" | ||
| 40 | #include "../../kexec-elf.h" | ||
| 41 | |||
| 42 | |||
| 43 | --- a/kexec/arch/ppc64/kexec-elf-rel-ppc64.c | ||
| 44 | +++ b/kexec/arch/ppc64/kexec-elf-rel-ppc64.c | ||
| 45 | @@ -1,5 +1,5 @@ | ||
| 46 | #include <stdio.h> | ||
| 47 | -#include <elf.h> | ||
| 48 | +#include "../../../include/elf.h" | ||
| 49 | #include <string.h> | ||
| 50 | #include "../../kexec.h" | ||
| 51 | #include "../../kexec-elf.h" | ||
| 52 | |||
| 53 | --- a/kexec/arch/x86_64/kexec-elf-rel-x86_64.c | ||
| 54 | +++ b/kexec/arch/x86_64/kexec-elf-rel-x86_64.c | ||
| 55 | @@ -1,5 +1,5 @@ | ||
| 56 | #include <stdio.h> | ||
| 57 | -#include <elf.h> | ||
| 58 | +#include "../../../include/elf.h" | ||
| 59 | #include "../../kexec.h" | ||
| 60 | #include "../../kexec-elf.h" | ||
| 61 | |||
