kexec-tools-klibc: remove unneeded x86-64 patch

The issue with -mcmodel=large is already solved by the oe-core's patch

 "kexec-x32.patch"

so we can remove this one.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andrea Adami 2018-09-05 19:43:10 +02:00 committed by Khem Raj
parent d1efc0181d
commit 005093bac5
2 changed files with 1 additions and 37 deletions

View File

@ -1,35 +0,0 @@
From 9453599fd833794fb5d87cab2622de286144ed54 Mon Sep 17 00:00:00 2001
From: Andrea Adami <andrea.adami@gmail.com>
Date: Wed, 18 Apr 2018 22:30:17 +0200
Subject: [PATCH 6/6] purgatory: Makefile: remove unknown flags
Fix
x86_64-oe-linux-musl-ld: unrecognised emulation mode: cmodel=large
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu
i386linux elf_l1om elf_k1om
../kexec-tools-2.0.17-rc1/purgatory/Makefile:67:
recipe for target 'purgatory/purgatory.ro' failed
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
purgatory/arch/x86_64/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/purgatory/arch/x86_64/Makefile b/purgatory/arch/x86_64/Makefile
index 7300937..73f6932 100644
--- a/purgatory/arch/x86_64/Makefile
+++ b/purgatory/arch/x86_64/Makefile
@@ -24,5 +24,5 @@ x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c
x86_64_PURGATORY_SRCS += purgatory/arch/i386/pic.c
ifeq ($(SUBARCH),64)
- x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
+# x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
endif
--
2.7.4

View File

@ -46,8 +46,7 @@ SRC_URI_append_x86 = " file://x86_sys_io.patch file://x86_basename.patch \
file://x86_vfscanf.patch file://x86_kexec_test.patch"
SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch \
file://x86_vfscanf.patch file://x86_kexec_test.patch \
file://x86-64-purgatory-Makefile-remove-unknown-flags.patch"
file://x86_vfscanf.patch file://x86_kexec_test.patch"
SRC_URI_append_aarch64 = " file://arm64_purgatory-Makefile-remove-unknown-flags.patch \
file://arm64_kexec-image-header.h-add-missing-le64toh.patch \