summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch')
-rw-r--r--meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch
new file mode 100644
index 000000000..f1db75741
--- /dev/null
+++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch
@@ -0,0 +1,33 @@
1From 9453599fd833794fb5d87cab2622de286144ed54 Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Wed, 18 Apr 2018 22:30:17 +0200
4Subject: [PATCH 6/6] purgatory: Makefile: remove unknown flags
5
6Fix
7
8 x86_64-oe-linux-musl-ld: unrecognised emulation mode: cmodel=large
9 Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu
10 i386linux elf_l1om elf_k1om
11 ../kexec-tools-2.0.17-rc1/purgatory/Makefile:67:
12 recipe for target 'purgatory/purgatory.ro' failed
13
14Upstream-Status: Inappropriate [embedded specific]
15Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
16
17---
18 purgatory/arch/x86_64/Makefile | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/purgatory/arch/x86_64/Makefile b/purgatory/arch/x86_64/Makefile
22index 7300937..38f0bf3 100644
23--- a/purgatory/arch/x86_64/Makefile
24+++ b/purgatory/arch/x86_64/Makefile
25@@ -23,4 +23,4 @@ x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c
26 x86_64_PURGATORY_SRCS += purgatory/arch/i386/vga.c
27 x86_64_PURGATORY_SRCS += purgatory/arch/i386/pic.c
28
29-x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
30+#x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
31--
322.7.4
33