diff options
-rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch | 51 | ||||
-rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 3 |
2 files changed, 1 insertions, 53 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch deleted file mode 100644 index f87f4334d7..0000000000 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | From 1ceca8645dbe2780e1b8993c80de772993fe3053 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrea Adami <andrea.adami@gmail.com> | ||
3 | Date: Thu, 19 Apr 2018 10:43:34 +0200 | ||
4 | Subject: [PATCH 1/2] purgatory/arm64: Makefile: remove unknown flags for arm64 | ||
5 | |||
6 | Fix | ||
7 | |||
8 | | aarch64-oe-linux-musl-ld: unrecognised emulation mode: cmodel=large | ||
9 | | Supported emulations: aarch64linux aarch64elf aarch64elf32 | ||
10 | aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 | ||
11 | aarch64linux32b armelfb_linux_eabi armelf_linux_eabi | ||
12 | |||
13 | Upstream-Status: Inappropriate [klibc specific] | ||
14 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | ||
15 | |||
16 | --- | ||
17 | purgatory/arch/arm64/Makefile | 20 ++++++++++---------- | ||
18 | 1 file changed, 10 insertions(+), 10 deletions(-) | ||
19 | |||
20 | diff --git a/purgatory/arch/arm64/Makefile b/purgatory/arch/arm64/Makefile | ||
21 | index 636abea..ddc9461 100644 | ||
22 | --- a/purgatory/arch/arm64/Makefile | ||
23 | +++ b/purgatory/arch/arm64/Makefile | ||
24 | @@ -1,13 +1,13 @@ | ||
25 | |||
26 | -arm64_PURGATORY_EXTRA_CFLAGS = \ | ||
27 | - -mcmodel=large \ | ||
28 | - -fno-PIC \ | ||
29 | - -fno-stack-protector \ | ||
30 | - -fno-asynchronous-unwind-tables \ | ||
31 | - -Wundef \ | ||
32 | - -Werror-implicit-function-declaration \ | ||
33 | - -Wdeclaration-after-statement \ | ||
34 | - -Werror=implicit-int \ | ||
35 | - -Werror=strict-prototypes | ||
36 | +#arm64_PURGATORY_EXTRA_CFLAGS = \ | ||
37 | +# -mcmodel=large \ | ||
38 | +# -fno-PIC \ | ||
39 | +# -fno-stack-protector \ | ||
40 | +# -fno-asynchronous-unwind-tables \ | ||
41 | +# -Wundef \ | ||
42 | +# -Werror-implicit-function-declaration \ | ||
43 | +# -Wdeclaration-after-statement \ | ||
44 | +# -Werror=implicit-int \ | ||
45 | +# -Werror=strict-prototypes | ||
46 | |||
47 | arm64_PURGATORY_SRCS += \ | ||
48 | purgatory/arch/arm64/entry.S \ | ||
49 | -- | ||
50 | 2.7.4 | ||
51 | |||
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index 92ab7e615a..fe34671987 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | |||
@@ -48,8 +48,7 @@ SRC_URI_append_x86 = " file://x86_sys_io.patch file://x86_basename.patch \ | |||
48 | SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch \ | 48 | SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch \ |
49 | file://x86_vfscanf.patch file://x86_kexec_test.patch" | 49 | file://x86_vfscanf.patch file://x86_kexec_test.patch" |
50 | 50 | ||
51 | SRC_URI_append_aarch64 = " file://arm64_purgatory-Makefile-remove-unknown-flags.patch \ | 51 | SRC_URI_append_aarch64 = " file://arm64_kexec-image-header.h-add-missing-le64toh.patch \ |
52 | file://arm64_kexec-image-header.h-add-missing-le64toh.patch \ | ||
53 | file://arm64-crashdump-arm64.c-fix-warning.patch \ | 52 | file://arm64-crashdump-arm64.c-fix-warning.patch \ |
54 | file://arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch" | 53 | file://arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch" |
55 | 54 | ||